fix: command line errors (#11)
This commit is contained in:
@@ -12,14 +12,13 @@ See [zap2xml](https://web.archive.org/web/20200426004001/zap2xml.awardspace.info
|
||||
### Compose
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
services:
|
||||
zap2xml:
|
||||
container_name: zap2xml
|
||||
image: ghcr.io/jef/zap2xml:latest
|
||||
environment:
|
||||
OPT_ARGS: >-
|
||||
-I -D -C /config/.zap2xmlrc
|
||||
-I -D -C /config/.zap2xmlrc -o /xmltv/xmltv.xml
|
||||
SLEEPTIME: 43200 # 12 hours in seconds
|
||||
TZ: America/New_York
|
||||
volumes:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
while :
|
||||
do
|
||||
DATE=$(date)
|
||||
/opt/zap2xml.pl "$OPT_ARGS"
|
||||
eval /opt/zap2xml.pl "$OPT_ARGS"
|
||||
echo "Last run time: $DATE"
|
||||
echo "Will run in $SLEEPTIME seconds"
|
||||
sleep "$SLEEPTIME"
|
||||
|
||||
Reference in New Issue
Block a user