Merge pull request #2794 from rumpelsepp/master

systemd: Add syncthing-resume.service
This commit is contained in:
Audrius Butkevicius 2016-02-22 09:13:10 +00:00
commit 0631e4395a

View File

@ -0,0 +1,10 @@
[Unit]
Description=Restart Syncthing after resume
After=suspend.target
[Service]
Type=oneshot
ExecStart=/usr/bin/pkill -HUP -x syncthing
[Install]
WantedBy=suspend.target