mirror of
https://github.com/linuxserver/docker-hubstats.git
synced 2026-02-20 02:46:07 +08:00
foreground cron and create /config/app dir
This commit is contained in:
parent
1acd561dd7
commit
3d3531ffef
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /config/app ]; then
|
||||
mkdir /config/app
|
||||
fi
|
||||
|
||||
if [ ! -f /config/app/settings.yml ]; then
|
||||
cp /opt/dockerhub-stats/config/settings.yml.example /config/app/settings.yml
|
||||
fi
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
/usr/sbin/cron
|
||||
/usr/sbin/cron -f
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user