Add files via upload

pull/5/head
RandomNinjaAtk 5 years ago committed by GitHub
parent fac85736f7
commit 029cddf945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,17 @@
#!/usr/bin/with-contenv bash
# Check if config is already updated, if not start cron...
if [ ! -f "/config/config.xml" ]; then
# start cron
service cron start
exit 0
fi
if [ -f "/config/config.xml" ]; then
# update autoprocess
python3 /scripts/update.py
# stop cron
service cron status > /dev/null && service cron stop
fi
exit $?
Loading…
Cancel
Save