6 lines
213 B
Bash
6 lines
213 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 && cron && tail -f /var/log/cron.log
|