summarylogtreecommitdiffstats
path: root/sfptpd.service
diff options
context:
space:
mode:
authorIdo Rosen2015-06-09 15:01:21 -0400
committerIdo Rosen2015-06-09 15:01:21 -0400
commitc84add367c2153fafd8c77f364d507618e64bfc7 (patch)
treee45764d2a4516ab7348278a8556998b5fe15d3ea /sfptpd.service
downloadaur-sfptpd.tar.gz
Initial commit.
Diffstat (limited to 'sfptpd.service')
-rw-r--r--sfptpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/sfptpd.service b/sfptpd.service
new file mode 100644
index 000000000000..1e2e7e02dd1d
--- /dev/null
+++ b/sfptpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=sfptpd Service
+After=network.target
+Requires=openonload.service
+After=openonload.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+EnvironmentFile=-/etc/default/sfptpd
+
+ExecStart=/usr/bin/sfptpd -f /etc/sfptpd.cfg
+ExecStop=/usr/bin/killall -SIGTERM /usr/bin/sfptpd
+
+[Install]
+WantedBy=multi-user.target