monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best option for start/stop scripts


From: Jorge Bastos
Subject: Best option for start/stop scripts
Date: Sun, 19 Oct 2014 12:30:21 +0100

Hi guys,

 

I’d like an opinion.

For the start program / stop program, what should be used, the init.d script or the daemon with the parameters?

 

#1 example:

Start program = /etc/init.d/mysoft start

Start program = /etc/init.d/mysoft stop

 

#2 example:

Start program = /usr/bin/mysoft –D –c mysoft.conf

Start program = /etc/init.d/mysoft stop (some script with kill -9 `pidof mysoft` or similar)

 

 

Thanks in advanced,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]