dotfiles for servers
1[Unit]
2Description=sync_files.sh for %i
3After=network-online.target
4Wants=network-online.target tailscaled.service
5
6[Service]
7Type=oneshot
8ExecStart=/home/jas/bin/sync_files.sh %i
9EnvironmentFile=/home/jas/.sync_files_hc_ping_url
10ExecStartPost=/usr/bin/curl -sS -m 10 --retry 5 -o /dev/null $HC_PING_URL
11
12[Install]
13WantedBy=default.target
14