aboutsummaryrefslogtreecommitdiff
path: root/roles/ftp/files/pure-ftpd-custom.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ftp/files/pure-ftpd-custom.service')
-rw-r--r--roles/ftp/files/pure-ftpd-custom.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/ftp/files/pure-ftpd-custom.service b/roles/ftp/files/pure-ftpd-custom.service
new file mode 100644
index 0000000..da5b712
--- /dev/null
+++ b/roles/ftp/files/pure-ftpd-custom.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Pure FTPd
+After=syslog.target
+After=network.target
+
+[Service]
+Type=simple
+Restart=no
+ExecStart=/usr/sbin/pure-ftpd-ldap /etc/pure-ftpd/pure-ftpd.conf
+
+[Install]
+WantedBy=multi-user.target