systemd: Set -logflags to 0, provide -no-browser flag

Syncthing should not try to start a browser when invoked by systemd.
Furthermore we do not need any timestamps in the journal as systemd
already handles this for us.
This commit is contained in:
Stefan Tatschner authored and Jakob Borg committed 2015-03-22 10:26:53 +01:00
1 parent 4025284fba
commit afad329e99
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ After=network.target
[Service]
User=%i
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
Restart=on-failure
RestartPreventExitStatus=1
SuccessExitStatus=2
+1 -1
View File
@@ -5,7 +5,7 @@ After=network.target
[Service]
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
Restart=on-failure
RestartPreventExitStatus=1
SuccessExitStatus=2