우분투 10.04
이 시작 스크립트 ( /etc/init/pure-ftpd.conf )를 만들었습니다 .
# pure-ftpd - FTP server
description "Pure-FTPd server"
start on filesystem
stop on runlevel S
respawn
respawn limit 10 5
pid file /var/run/pure-ftpd.pid
console output
pre-start script
test -x /usr/local/sbin/pure-ftpd || { stop; exit 0; }
end script
exec /usr/local/sbin/pure-ftpd --maxclientsnumber 2 --maxclientsperip 10 --prohibitdotfileswrite --prohibitdotfilesread --noanonymous --chrooteveryone --dontresolve --nochmod --pidfile /var/run/pure-ftpd.pid
그러나...
# start pure-ftpd
start: Unknown job: pure-ftpd
과
# service pure-ftpd start
start: Unknown job: pure-ftpd
뭐가 문제 야?
더 많은 것을해야합니까?
/etc/init.d에도 하나의 스크립트를 작성해야합니까?