diff options
Diffstat (limited to 'syncthing/syncthing@.service')
-rw-r--r-- | syncthing/syncthing@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/syncthing/syncthing@.service b/syncthing/syncthing@.service new file mode 100644 index 000000000..93ed40e14 --- /dev/null +++ b/syncthing/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 |