Unix Programming - Start Program on System Startup

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2005 > Start Program on System Startup





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Start Program on System Startup
ccdrbrg@yahoo.com

2005-04-15, 5:56 pm

I have a TCP/IP based server program that
I would like to have start with system startup.

I'm rather new to unix.
I expect there is a system startup script I can
edit, but I do not know what it is.

My system is BSD.

Any help would be much appreciated.

Chad

Rich Teer

2005-04-15, 5:56 pm

On Fri, 15 Apr 2005, ccdrbrg@yahoo.com wrote:

> I have a TCP/IP based server program that
> I would like to have start with system startup.
>
> I'm rather new to unix.
> I expect there is a system startup script I can
> edit, but I do not know what it is.
>
> My system is BSD.
>
> Any help would be much appreciated.


It's been many years since I last touched a BSD system, but IIRC, you
need to edit /etc/rc.local.

HTH,

-
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
T.M. Sommers

2005-04-15, 5:57 pm

ccdrbrg@yahoo.com wrote:
> I have a TCP/IP based server program that
> I would like to have start with system startup.
>
> I'm rather new to unix.
> I expect there is a system startup script I can
> edit, but I do not know what it is.
>
> My system is BSD.


man rc

--
Thomas M. Sommers -- tms@nj.net -- AB2SB

Fletcher Glenn

2005-04-15, 5:57 pm

T.M. Sommers wrote:
> ccdrbrg@yahoo.com wrote:
>
>
>
> man rc
>


I would have said "man init".

--

Fletcher Glenn

Matthias Buelow

2005-04-15, 5:57 pm

Fletcher Glenn <fletcher@removethisfoglight.com> writes:

> I would have said "man init".


From which the useful information is to lookup rc(8).

mkb.
Sean Burke

2005-04-18, 8:47 pm


"ccdrbrg@yahoo.com" <ccdrbrg@yahoo.com> writes:

> I have a TCP/IP based server program that
> I would like to have start with system startup.
>
> I'm rather new to unix.
> I expect there is a system startup script I can
> edit, but I do not know what it is.
>
> My system is BSD.
>
> Any help would be much appreciated.


Look to see if any of the packages that you have installed
have placed a startup script in /usr/local/etc/rc.d.
If so, imitate what you find there.

-SEan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com