Kaynağa Gözat

etc: linux-systemd: Use sleep.target in syncthing-resume.service

Skip-check: authors

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4037
Benedikt Morbach 8 yıl önce
ebeveyn
işleme
ef35a7a4cb

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

@@ -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