cancel
Showing results for 
Search instead for 
Did you mean: 
Mohasin
Pilgrim

Register Service for LINUX Environment using installAnywhere?

Hi,

Can we register Service/Process for LINUX using InstallAnywhere .
I can able to do to register windows service using Addaction of "Register Window Service"

Are there any way to Register Service/Process the same way that we do for Windows?

Any ideas thoughts?

Regards,
MK
Labels (1)
0 Kudos
2 Replies
anilsharma
Pilgrim

Re: Register Service for LINUX Environment using installAnywhere?

Mohasin wrote:
Hi,

Can we register Service/Process for LINUX using InstallAnywhere .
I can able to do to register windows service using Addaction of "Register Window Service"

Are there any way to Register Service/Process the same way that we do for Windows?

Any ideas thoughts?

Regards,
MK


you can create a softlink of youe shell file in the /etc/init.d .
e.g ln -s /opt/yourfile.sh /etc/init.d/yourfile


Now you can start and stop your service from anywhere by simply executing "service start yourfile" or "service stop yourfile"
You need to have start and stop as the parameters supported by your shell script
0 Kudos
Highlighted
Mohasin
Pilgrim

Re: Register Service for LINUX Environment using installAnywhere?

anilsharma wrote:
you can create a softlink of youe shell file in the /etc/init.d .
e.g ln -s /opt/yourfile.sh /etc/init.d/yourfile


Now you can start and stop your service from anywhere by simply executing "service start yourfile" or "service stop yourfile"
You need to have start and stop as the parameters supported by your shell script


Thank you very much Anil .Helps me.
0 Kudos