I need to install a program as a service in Red Hat. It doesn't background itself, manage its PID file, or manage its own logs. It just runs and prints to STDOUT and STDERR. Using the standard init ...
In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only ...
I'd like to pass an argument to the service I am starting. E.g. starting a server in a debug mode. Like, service jboss-as start debug Or such. But service seems not to support that. Is there some ...
On RedHat/CentOS systems, all of the service management scripts in /etc/init.d (and also run by the "service" command) produce color output. (i.e. the "[ OK ]" and "[FAILED]" strings.) How do I ...
I'm not sure but I think the named service keeps crashing on my VPS server. This brings it up fine: root@vps [~]# /sbin/service named restart How can I diagnose why this is happening? root@vps ...
I'm looking for a way to auto-restart a service when it crashes (Apache, Proftpd, Jboss...). I'm running debian. I could script something but I'm trying to find a "good practice" for this. Do you ...