summaryrefslogtreecommitdiff
path: root/extra/proftpd/proftpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/proftpd/proftpd.service')
-rw-r--r--extra/proftpd/proftpd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/proftpd/proftpd.service b/extra/proftpd/proftpd.service
new file mode 100644
index 000000000..c202a2fdf
--- /dev/null
+++ b/extra/proftpd/proftpd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = ProFTPD FTP Server
+After = network.target nss-lookup.target local-fs.target remote-fs.target
+
+[Service]
+Type = forking
+PIDFile = /run/proftpd/proftpd.pid
+Environment = PROFTPD_ARGS=
+EnvironmentFile = -/etc/conf.d/proftpd
+ExecStart = /usr/sbin/proftpd $PROFTPD_ARGS
+ExecReload = /bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy = multi-user.target