mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 23:30:58 +00:00
3ea93f52ee
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.
17 lines
392 B
Desktop File
17 lines
392 B
Desktop File
[Unit]
|
|
Description=Syncthing - Open Source Continuous File Synchronization for %I
|
|
Documentation=https://github.com/syncthing/syncthing/wiki
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=%i
|
|
Environment=STNORESTART=yes
|
|
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=1
|
|
SuccessExitStatus=2
|
|
RestartForceExitStatus=3 4
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|