mirror of
https://github.com/jbowdre/phpipam-agent-docker.git
synced 2024-11-25 16:32:20 +00:00
Update entrypoint.sh
This commit is contained in:
parent
8cac78553b
commit
0d4bc2af1d
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE
|
echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE
|
||||||
|
echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php discover > /proc/self/fd/1 2>/proc/self/fd/2" >> $CRONTAB_FILE
|
||||||
chmod 0644 $CRONTAB_FILE
|
chmod 0644 $CRONTAB_FILE
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
Loading…
Reference in a new issue