syncthing/etc/linux-systemd/system/syncthing-resume.service

12 lines
204 B
Desktop File

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