summaryrefslogtreecommitdiffstats
path: root/abs/core/inetutils/ftpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/inetutils/ftpd.service')
-rw-r--r--abs/core/inetutils/ftpd.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/inetutils/ftpd.service b/abs/core/inetutils/ftpd.service
index 5708bdf..3020804 100644
--- a/abs/core/inetutils/ftpd.service
+++ b/abs/core/inetutils/ftpd.service
@@ -3,8 +3,10 @@ Description=FTPD Daemon
After=network.target
[Service]
-ExecStart=/usr/sbin/ftpd -D
Type=forking
+PIDFile=/run/ftpd.pid
+ExecStart=/usr/bin/ftpd -D
+ExecStopPost=/bin/rm -f /run/ftpd.pid
[Install]
WantedBy=multi-user.target