linux에서 수호 프로세스 정지 도구 start-stop-daemon

2864 단어 Linux
1.
  2. /sbin/start-stop-daemon
  3. Commands: -S|--start -- ... , -K|--stop -T|--status -H|--help -V|--version Matching options (at least one is required): -p|--pidfile pid file to check -x|--exec program to start/check if it isrunning -n|--name process name to check -u|--user process owner to check Options: -g|-- group < group |gid> -c|--chuid group |gid]> -s|--signal signal to send ( default TERM) -a|--startas program to start ( default is ) -r|--chroot chroot to before starting -d|--chdir change to ( default is /) -N|--nicelevel add incr to the process' nicelevel -P|--procsched use with for the kernel process scheduler ( default prio is 0) -I|--iosched < class [:prio]> use < class > with to set the IO scheduler ( default prio is 4) -k|--umask -b|--background -m|--make-pidfile pidfile , start-stop-daemon -R|--retry timeout , , KILL ; -t|--test -o|--oknodo exit status 0 (not 1) if nothing done -q|--quiet -v|--verbose
  5. 1、 daemon start-stop-daemon --start --background --exec /root/proxy.py
  2、 daemon start-stop-daemon --stop --name proxy.py

좋은 웹페이지 즐겨찾기