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