updated ftpd.service

This commit is contained in:
wt
2024-11-30 16:31:38 +07:00
parent 81e41e9e74
commit 60ebd52e65
+1 -1
View File
@@ -7,7 +7,7 @@
start() {
notify "Starting ftpd"
tcpsvd -vE 0.0.0.0 21 ftpd -w -S -A /srv/ftpd &>/dev/null &
tcpsvd -vE 0.0.0.0 21 ftpd -w -S -A /srv/ftp &>/dev/null &
check $? "start ftpd"
echo $(pgrep tcpsvd) > /var/run/ftpd.pid
return $?