6 lines
214 B
Bash
6 lines
214 B
Bash
#!/bin/bash
|
|
|
|
envsubst < /opt/backup/rsync.template > /opt/backup/rsync.sh
|
|
envsubst < /opt/backup/plan.tpl.py > /opt/backup/plan.py
|
|
crontab ./crontab && touch /var/log/cron.log && crond && tail -f /var/log/cron.log
|