mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 23:30:58 +00:00
50190236bb
The ```syncthing-resume.service``` will show as a failed service in case there are no syncthing processes running after resume but it can be safely ignored because it makes no difference. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3630
12 lines
205 B
Desktop File
12 lines
205 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
|