diff options
author | tdro <tdro@users.noreply.github.com> | 2020-05-16 06:10:47 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-05-16 06:10:47 -0400 |
commit | 143e723218e4d3a194556d6f2b81aab72f8a7c57 (patch) | |
tree | d8943032ba5c511d50017c9ba5c3b39238f35fc0 /.config/systemd | |
parent | 564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd (diff) | |
download | dotfiles-143e723218e4d3a194556d6f2b81aab72f8a7c57.tar.gz dotfiles-143e723218e4d3a194556d6f2b81aab72f8a7c57.tar.bz2 dotfiles-143e723218e4d3a194556d6f2b81aab72f8a7c57.zip |
.config/systemd/user/syncthing: Always restart
Diffstat (limited to '.config/systemd')
-rw-r--r-- | .config/systemd/user/syncthing.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/systemd/user/syncthing.service b/.config/systemd/user/syncthing.service index 7dda64f..9b2e7c9 100644 --- a/.config/systemd/user/syncthing.service +++ b/.config/systemd/user/syncthing.service @@ -4,7 +4,8 @@ After=network.target [Service] ExecStart=/usr/bin/env syncthing -no-browser -no-restart -logflags=0 -Restart=on-failure +Restart=always +RestartSec=5s SuccessExitStatus=3 4 RestartForceExitStatus=3 4 SyslogIdentifier=syncthing @@ -17,4 +18,4 @@ MemoryDenyWriteExecute=true NoNewPrivileges=true [Install] -WantedBy=multi-user.target +WantedBy=default.target |