Pull syncthing-inotify.service as an optional dep

This patch adds syncthing-inotify.service as an optional dependency to
syncthing.service. That means, if syncthing-inotify.service is
available, it is started and stopped with syncthing.

See discussion here:
https://forum.syncthing.net/t/gnome-shell-extension-syncthing-icon/5759
This commit is contained in:
Stefan Tatschner 2015-09-25 23:05:11 +02:00
parent fd38fb684a
commit af1fbda892
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
Description=Syncthing - Open Source Continuous File Synchronization for %I
Documentation=http://docs.syncthing.net/
After=network.target
Wants=syncthing-inotify@.service
[Service]
User=%i

View File

@ -2,6 +2,7 @@
Description=Syncthing - Open Source Continuous File Synchronization
Documentation=http://docs.syncthing.net/
After=network.target
Wants=syncthing-inotify.service
[Service]
Environment=STNORESTART=yes