syncthing/etc/linux-systemd/system/syncthing-resume.service
2017-03-12 15:21:12 +00:00

12 lines
201 B
Desktop File

[Unit]
Description=Restart Syncthing after resume
Documentation=man:syncthing(1)
After=sleep.target
[Service]
Type=oneshot
ExecStart=-/usr/bin/pkill -HUP -x syncthing
[Install]
WantedBy=sleep.target