mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2026-04-02 20:05:23 +00:00
Add docker entrypoint
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user