init.d startup scripts.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tom Jones
Date:  
Subject: init.d startup scripts.
Have you tried:

nohup <problem command> &

Suffice to say, I don't know jack about HPUX, but this works from the
command line on Linux, AIX, and Solaris.

TJ


----- Original Message -----
From: "Don Harrop" <>
To: <>
Sent: Thursday, November 30, 2000 5:47 PM
Subject: init.d startup scripts.


> Hey pluggers.
>
> I've written an HPUX init.d startup script to start sshd at bootup.
> The problem is that no matter what I do the daemon is killed off after
> init.d is over. I know that it starts because I've encorporated a ps
> command to output to a file in my script and it is a process running.
> After I log in though and do an lsof -i :22 or a ps to find my sshdaemon
> it's not there. I've tried starting it with an & for a background process
> and that doesn't work. I've also tried su'ing to root and executing sshd
> but I get an error message saying I don't have execute permissions. sshd
> is chmod'ed 755 so it should be able to execute. I need a bone here
> guys.. :-)
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't

post to the list quickly and you use Netscape to write mail.
>
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>