I have 2 problems.
1.) I have the backup exec agent installed in /etc/bkupexec/agent.be
If I launch this as root by typing ./agent.be from the bkupexec directory, it runs as supposed to. But I can't logoff root. It says programs still running. Any way around this?
2.) How do I run a program (i.e. agent.be) as a service in HP-UX? I don't have NIS. It appears I should add an entry to the /etc/services file which in my case would be:
grfs 6101/tcp #Backup Exec Agent
How can I launch this once registered with out rebooting?
I looked at the /etc directory and the only rc dirs I have are rc.config.d. I am familiar with Red Hat and I've found that the rd.<#> runlevel paradigm either doesn't apply on 10.2 or there is only one runlevel.
That being said, while I'd love to automate this on boot, My more immediate goal is to get this running as root and being able to log out root and keep it running. Currently the system won't let me log out when I have agent.be running.
Can I throw it into a shell script such as:
run=`./agent.be`
echo $run
I think that would work in bash, I haven't done much with ksh.
Thanks