Scrpit Resource with Separate Start and Stop file

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

 



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

 

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux