docker_images/backups/rsyncvolumes/launch.c7.sh

6 lines
186 B
Bash
Raw Normal View History

2020-05-17 08:25:07 +02:00
#!/bin/bash
printenv >> /etc/environment
2020-05-17 08:25:07 +02:00
envsubst < /opt/backup/rsync.template > /opt/backup/rsync.sh
crontab ./crontab && touch /var/log/cron.log && crond && tail -f /var/log/cron.log