Update pureftp.service.tpl

This commit is contained in:
midoks
2022-07-02 17:40:19 +08:00
parent b998234dec
commit 9d8926d78e
+3 -1
View File
@@ -2,9 +2,11 @@
Description=Pure-FTPd is a fast, production-quality, standard-conformant FTP server
After=network.target
[Service]
Type=forking
ExecStart={$SERVER_PATH}/pureftp/sbin/pure-ftpd {$SERVER_PATH}/pureftp/etc/pure-ftpd.conf --daemonize
ExecStart={$SERVER_PATH}/pureftp/sbin/pure-ftpd {$SERVER_PATH}/pureftp/etc/pure-ftpd.conf
ExecStop=/bin/kill -HUP $MAINPID
ExecReload=/bin/kill -USR2 $MAINPID
Restart=on-failure