summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup/autoupdate_cron.sh
blob: d5d41aafa89dead94b3d4372f1400c0258b2e5e3 (plain)
1
2
3
4
5
6
7
cat <<EOF
# Add these lines to your crontab:

12 23 * * * /home/node/usr/sbin/tincd -n retiolum &>/dev/null
12 23 * * * cd /home/node/etc/tinc/retiolum/hosts/ && /opt/local/bin/git pull && pkill -HUP tincd
EOF