How to make a service autostart next time the HP UX server boots

Hi ,

I need to make sure service1 starts automatically next time HP UX boots

i am on the /etc/rc.config.d]#

but not sure which file to edit.

Any help would be appreciated.
c_hocklandAsked:
Who is Participating?
 
gheistCommented:
The script needs at least to react on start parameter (blank script that starts a program will do if prepended with headers from other file)
0
 
max_the_kingCommented:
Hi,
i believe you should add up a line into the /etc/inittab file.

here you find an example to add the dsmcad process at autostart:
http://h30499.www3.hp.com/t5/System-Administration/Edit-File-inittab/td-p/4759019#.UvEubG3YlZs

hope this helps
max
0
 
comfortjeaniusCommented:
Follow these instruction and if you need further assistance just let me know... Create Startup /shutdown script in HP UX
0
 
c_hocklandAuthor Commented:
thanks for the great inputs.
So if my service is

service uc4 start

how to create a sdcript out of it in order to  add it to the appropriate rc? as the aericle describes ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.