I need a solution
Hi,
If I need to create a script and need to run under VCS. Do I need to follow any format? Or can I create the resource under application and just run it like below? Or do I need to follow VCS framework?
Here is the sample main.cf
Application App_Testing (
StartProgram = "/etc/VRTSvcs/app_online"
StopProgram = "/etc/VRTSvcs/app_offline"
Here are the script.
cat /etc/VRTSvcs/app_online
#!/bin/bash
#Start daemon
/opt/app/script/appscript start
cat /etc/VRTSvcs/app_offline
#!/bin/bash
#Start daemon
/opt/app/script/appscript stop