diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-01 10:14:24 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-01 10:14:24 +0300 |
commit | 3d253e28e6a7e88619cef8a31dd39285a154b1b0 (patch) | |
tree | e75a1b249543319889759c0ee3621e7fe067a1ee /packages/net-p2p/syncthing/files/systemd | |
parent | 0933d26af0cac6184aad0ebb3c804899d34c6bd4 (diff) |
synchting-scm added, a bit tricky script, but looks like it working fine
Diffstat (limited to 'packages/net-p2p/syncthing/files/systemd')
-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 |