Update entrypoint.sh

This commit is contained in:
mc303 2020-10-30 15:16:02 +01:00 committed by GitHub
parent 8cac78553b
commit 0d4bc2af1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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