mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-10 10:16:24 +00:00
11 lines
173 B
SYSTEMD
11 lines
173 B
SYSTEMD
|
[Unit]
|
||
|
Description=Restart Syncthing after resume
|
||
|
After=suspend.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/pkill -HUP -x syncthing
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=suspend.target
|