Port to use CentOS init.d functions
- by jcalfee314
What are good equivalent centos commands using functions in /etc/init.d/functions such as daemon to perform the following tasks?
STARTCMD='start-stop-daemon --start --exec /usr/sbin/swapspace --quiet --pidfile /var/run/swapspace.pid -- -d -p'
STOPCMD='start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/swapspace.pid'
It looks like…