diff options
Diffstat (limited to 'packages/net-p2p/syncthing/files/systemd/syncthing.service')
-rw-r--r-- | packages/net-p2p/syncthing/files/systemd/syncthing.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/net-p2p/syncthing/files/systemd/syncthing.service b/packages/net-p2p/syncthing/files/systemd/syncthing.service new file mode 100644 index 0000000..e5ff0ae --- /dev/null +++ b/packages/net-p2p/syncthing/files/systemd/syncthing.service @@ -0,0 +1,12 @@ +[Unit] +Description=Syncthing service for %i +After=network.target + +[Service] +User=%i +Environment=STNORESTART=yes +ExecStart=/usr/bin/syncthing +Restart=always + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |