systemd units for system/user

This commit is contained in:
Peter Hoeg committed 2015-01-05 18:29:13 +08:00
1 parent d3f6cb860f
commit c47be7b415
2 files changed
+26

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=Syncthing service
[Service]
Environment=STARGS=
EnvironmentFile=-%h/.config/syncthing/environment
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing ${STARGS}
Restart=always
[Install]
WantedBy=cmdline.target