mirror of
https://github.com/jbowdre/phpipam-agent-docker.git
synced 2024-11-22 15:02:19 +00:00
Create entrypoint.sh
This commit is contained in:
parent
209fe651eb
commit
685f18a159
1 changed files with 9 additions and 0 deletions
9
entrypoint.sh
Normal file
9
entrypoint.sh
Normal 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 "$@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue