on-failure instead of always as we cannot otherwise kill the service

This commit is contained in:
Peter Hoeg committed 2015-01-05 18:29:13 +08:00
1 parent c47be7b415
commit 1e8da0d494
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ Environment=STARGS=
EnvironmentFile=-/etc/default/syncthing
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing ${STARGS}
Restart=always
Restart=on-failure
[Install]
WantedBy=multi-user.target