Discussion:
Scrpit Resource with Separate Start and Stop file
(too old to reply)
j***@btraccl.net
2016-09-01 08:10:23 UTC
Permalink
Hi,



Normally in RHEL 6, I use script resource like following



<script file="/etc/rc.d/init.d/httpd" name="Apache"/>



But now I have to add a service which don't have single control file.
Rather it is as following



Star_Service.sh

Stop_Service.sh



Is there any way I can add this service as script resource ?



Additionally, the Stop_Service.sh has some simple kill commands. If it is
necessary to have single control file what logic should I add to the merged
control file to be used with cluster ?





Regards,

Jasim

Loading...