mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-19 19:45:12 +00:00
etc: linux-systemd: Use sleep.target in syncthing-resume.service
Skip-check: authors GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4037
This commit is contained in:
parent
601a4fac1a
commit
ef35a7a4cb
@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=Restart Syncthing after resume
|
||||
Documentation=man:syncthing(1)
|
||||
After=suspend.target
|
||||
After=sleep.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=-/usr/bin/pkill -HUP -x syncthing
|
||||
|
||||
[Install]
|
||||
WantedBy=suspend.target
|
||||
WantedBy=sleep.target
|
||||
|
Loading…
Reference in New Issue
Block a user