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
|