Skip to content

Commit ac2fd43

Browse files
authored
fix: command line errors (#11)
1 parent 5823f3e commit ac2fd43

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ See [zap2xml](https://web.archive.org/web/20200426004001/zap2xml.awardspace.info
1212
### Compose
1313

1414
```yaml
15-
version: '3'
1615
services:
1716
zap2xml:
1817
container_name: zap2xml
1918
image: ghcr.io/jef/zap2xml:latest
2019
environment:
2120
OPT_ARGS: >-
22-
-I -D -C /config/.zap2xmlrc
21+
-I -D -C /config/.zap2xmlrc -o /xmltv/xmltv.xml
2322
SLEEPTIME: 43200 # 12 hours in seconds
2423
TZ: America/New_York
2524
volumes:

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
while :
44
do
55
DATE=$(date)
6-
/opt/zap2xml.pl "$OPT_ARGS"
6+
eval /opt/zap2xml.pl "$OPT_ARGS"
77
echo "Last run time: $DATE"
88
echo "Will run in $SLEEPTIME seconds"
99
sleep "$SLEEPTIME"

0 commit comments

Comments
 (0)