Create entrypoint.sh

This commit is contained in:
mc303 2020-10-29 18:09:23 +01:00 committed by GitHub
parent 209fe651eb
commit 685f18a159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
entrypoint.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
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
chmod 0644 $CRONTAB_FILE
exec "$@"