mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-10 18:24:44 +00:00
Merge pull request #1505 from rumpelsepp/systemd
systemd: Set -logflags to 0, provide -no-browser flag
This commit is contained in:
commit
865f62e3eb
@ -6,7 +6,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
User=%i
|
User=%i
|
||||||
Environment=STNORESTART=yes
|
Environment=STNORESTART=yes
|
||||||
ExecStart=/usr/bin/syncthing
|
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartPreventExitStatus=1
|
RestartPreventExitStatus=1
|
||||||
SuccessExitStatus=2
|
SuccessExitStatus=2
|
||||||
|
@ -5,7 +5,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=STNORESTART=yes
|
Environment=STNORESTART=yes
|
||||||
ExecStart=/usr/bin/syncthing
|
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartPreventExitStatus=1
|
RestartPreventExitStatus=1
|
||||||
SuccessExitStatus=2
|
SuccessExitStatus=2
|
||||||
|
Loading…
Reference in New Issue
Block a user