mirror of https://github.com/midoks/mdserver-web
parent
2502ad6168
commit
62544e8442
@ -0,0 +1,13 @@ |
|||||||
|
[Unit] |
||||||
|
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 |
||||||
|
ExecStop=/bin/kill -HUP $MAINPID |
||||||
|
ExecReload=/bin/kill -USR2 $MAINPID |
||||||
|
Restart=on-failure |
||||||
|
|
||||||
|
[Install] |
||||||
|
WantedBy=multi-user.target |
Loading…
Reference in new issue