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 authored and Jakob Borg committed 2015-10-02 07:58:24 +02:00
1 parent b7e5948b09
commit d039df46c0
2 files changed
+2

No files matched your search

@@ -2,6 +2,7 @@
Description=Syncthing - Open Source Continuous File Synchronization for %I
Documentation=http://docs.syncthing.net/
After=network.target
Wants=[email protected]
[Service]
User=%i
+1
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