mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 00:36:25 +00:00
Add docker entrypoint
This commit is contained in:
parent
8b74a98836
commit
1d1e5731e9
7
entrypoint.sh
Normal file
7
entrypoint.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
autorestic $AUTORESTIC_INITIAL_ARGS
|
||||||
|
if [ -n "$CRON_CONFIG_DIR" ]
|
||||||
|
then
|
||||||
|
echo "CRON_CONFIG_DIR is set, cron enabled"
|
||||||
|
crond -f -L /var/log/cron.log
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user