# mkssys -s NAME -p PATH -u UID -S -n15 -f9 -a 'COMMAND ARGS'
  > NAME: new signal-controlled (-S) service
  > PATH: executable to run is
  > Signal 15 (TERM) is used for normal shut-down 
  > Signal 9 (KILL) for forced shutdown

# startsrc -s NAME
# stopsrc -s NAME
# rmssys -s NAME
# vi  /etc/inittab
NAME:2:respawn:/usr/bin/startsrc -s NAME
  > execute automatically on runlevel 2(multi-user mode boot)
  > respawn when the service fail


블로그 이미지

Melting

,