diff options
author | tdro <tdro@users.noreply.github.com> | 2020-05-15 04:46:08 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-05-15 04:50:55 -0400 |
commit | 158b96c849f48b70d0173f766627dad69f0f1e3d (patch) | |
tree | bb6a2ab878c7ddb69afc5a1cf8c1860e82403f51 /.config/systemd | |
parent | 65430dcd1180836c26423d1e6dd2b4a8116e6445 (diff) | |
download | dotfiles-158b96c849f48b70d0173f766627dad69f0f1e3d.tar.gz dotfiles-158b96c849f48b70d0173f766627dad69f0f1e3d.tar.bz2 dotfiles-158b96c849f48b70d0173f766627dad69f0f1e3d.zip |
.config/systemd/user/syncthing: Add
Diffstat (limited to '.config/systemd')
-rw-r--r-- | .config/systemd/user/syncthing.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/systemd/user/syncthing.service b/.config/systemd/user/syncthing.service new file mode 100644 index 0000000..7dda64f --- /dev/null +++ b/.config/systemd/user/syncthing.service @@ -0,0 +1,20 @@ +[Unit] +Description=Syncthing - Open Source Continuous File Synchronization +After=network.target + +[Service] +ExecStart=/usr/bin/env syncthing -no-browser -no-restart -logflags=0 +Restart=on-failure +SuccessExitStatus=3 4 +RestartForceExitStatus=3 4 +SyslogIdentifier=syncthing + +# Hardening +ProtectSystem=full +PrivateTmp=true +SystemCallArchitectures=native +MemoryDenyWriteExecute=true +NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target |