• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

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.
0
c_hockland
Asked:
c_hockland
2 Solutions
 
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
 
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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now