mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-20 03:51:00 +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.
16 lines
374 B
Desktop File
16 lines
374 B
Desktop File
[Unit]
|
|
Description=Syncthing - Open Source Continuous File Synchronization
|
|
Documentation=https://github.com/syncthing/syncthing/wiki
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment=STNORESTART=yes
|
|
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=1
|
|
SuccessExitStatus=2
|
|
RestartForceExitStatus=3 4
|
|
|
|
[Install]
|
|
WantedBy=default.target
|