Operating System - HP-UX
1754402 Members
3106 Online
108813 Solutions
New Discussion юеВ

Utility for managing services

 
SOLVED
Go to solution
Peter Kovacs 1.0rc
Frequent Advisor

Utility for managing services

Hi,

Is there a utility which makes it easy to create services? (Like chkconfig in linux.) I hoped SAM would include something, but it apparently doesn't.

Thanks
Peter
2 REPLIES 2
Olivier Masse
Honored Contributor
Solution

Re: Utility for managing services

Not to my knowledge, unless I'm mistake nyou're pretty much on your own and will need to setup your own SYSV scripts. They're less fancy than on most Linux distros, but pretty straightforward.

Doing a man on rc(1m) will bring up the details. If that can be of any help, there is also a template script in /sbin/init.d/template that you can use as a building block for your own. But beware its killproc() function, it sucks. :)

Olivier.
Peter Kovacs 1.0rc
Frequent Advisor

Re: Utility for managing services

Creating "manually" the scripts is fairly simple -- can be easily done based on the rc(1M) man page. (It seems as if there was a SYSV standard on this, because it is similar to what is used in most Linux distros and with Solaris pre-10.)

I'll see how it works at the next reboot. :-)