summaryrefslogtreecommitdiff
path: root/extra/proftpd/proftpd.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-21 00:02:33 +0000
committerroot <root@rshg054.dnsready.net>2012-08-21 00:02:33 +0000
commita3669c04838b48b6891b2ffc4b296fa515f8174f (patch)
treefb838dbf7e59e2f79d7fca0fce6d93c254a5c173 /extra/proftpd/proftpd.service
parent524da814660fa35bca4a24d0faa0a10b7eab5c6f (diff)
Tue Aug 21 00:02:33 UTC 2012
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