I'm basically looking for the equivalent of :
sudo apt-get install daemon
From Debian
I'm trying to configure a Solr daemon as outlined here https://stackoverflow.com/a/2150888/443779
I'm basically looking for the equivalent of :
sudo apt-get install daemon
From Debian
I'm trying to configure a Solr daemon as outlined here https://stackoverflow.com/a/2150888/443779
I don't believe you can get the Debian style daemon
to work in CentOS, in CentOS it is more common to source /etc/init.d/functions
in your init script.
This will make the daemon function available to you - with totally different options than the example you posted!
For a simple example check out the crond
init script at /etc/init.d/crond
.