fix: command line errors (#11)

This commit is contained in:
ldnguyen97
2025-07-15 14:35:04 -07:00
committed by GitHub
parent 5823f3ef18
commit ac2fd43215
2 changed files with 2 additions and 3 deletions

View File

@@ -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:

View File

@@ -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"