* Start processes after reboot
@ 1999-01-07 5:00 Marc Ortega
1999-01-08 5:00 ` Rolf Hauck
1999-01-08 5:00 ` robis
0 siblings, 2 replies; 6+ messages in thread
From: Marc Ortega @ 1999-01-07 5:00 UTC (permalink / raw)
Hi everyone!
I want to automatically start some processes after I reboot the system.
Do I have to add entries to the inittab file or somewhere else? Those
processes are root processes but ot system processes. I'm using DEC UNIX
4.0D on an Alpha station 500au
Thanks a lot,
Marc
--
Marc Ortega Gil
Laboratorio de Ling��stica Inform�tica, Universidad Aut�noma de
Barcelona
Edificio B, 08193 Bellaterra, Espa�a
Fax: +34-93-581-1686; tel: +34-93-581-2229
http://seneca.uab.es/csubirats/lali.html
co-e: mortega@seneca.uab.es
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Start processes after reboot
1999-01-07 5:00 Start processes after reboot Marc Ortega
@ 1999-01-08 5:00 ` Rolf Hauck
1999-01-08 5:00 ` robis
1 sibling, 0 replies; 6+ messages in thread
From: Rolf Hauck @ 1999-01-08 5:00 UTC (permalink / raw)
To: Marc Ortega
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
You could add this processes to the inittab file, but I would prefer
putting start and stop scripts into /sbin/rc3.d. Have a look at
/sbin/rc3.
HTH Rolf
Marc Ortega schrieb:
>
> Hi everyone!
>
> I want to automatically start some processes after I reboot the system.
> Do I have to add entries to the inittab file or somewhere else? Those
> processes are root processes but ot system processes. I'm using DEC UNIX
> 4.0D on an Alpha station 500au
>
> Thanks a lot,
> Marc
>
> --
> Marc Ortega Gil
> Laboratorio de Lingüística Informática, Universidad Autónoma de
> Barcelona
> Edificio B, 08193 Bellaterra, España
> Fax: +34-93-581-1686; tel: +34-93-581-2229
> http://seneca.uab.es/csubirats/lali.html
> co-e: mortega@seneca.uab.es
[-- Attachment #2: Visitenkarte f�r Rolf Hauck --]
[-- Type: text/x-vcard, Size: 240 bytes --]
begin: vcard
fn: Rolf Hauck
n: ;Rolf Hauck
org: datenrevision GmbH
email;internet: Rolf.Hauck@datenrevision.de
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Start processes after reboot
1999-01-07 5:00 Start processes after reboot Marc Ortega
1999-01-08 5:00 ` Rolf Hauck
@ 1999-01-08 5:00 ` robis
1999-01-08 5:00 ` Serguei Patchkovskii
1 sibling, 1 reply; 6+ messages in thread
From: robis @ 1999-01-08 5:00 UTC (permalink / raw)
Just put your startup script to /sbin/rc3.d or /sbin/rc2.d directory
depending on your default runlevel in inittab.
Script name should start with S in /sbin/rc3.d or K in /sbin/rc2.d.
/robis
Marc Ortega wrote:
> Hi everyone!
>
> I want to automatically start some processes after I reboot the system.
> Do I have to add entries to the inittab file or somewhere else? Those
> processes are root processes but ot system processes. I'm using DEC UNIX
> 4.0D on an Alpha station 500au
>
> Thanks a lot,
> Marc
>
> --
> Marc Ortega Gil
> Laboratorio de Ling��stica Inform�tica, Universidad Aut�noma de
> Barcelona
> Edificio B, 08193 Bellaterra, Espa�a
> Fax: +34-93-581-1686; tel: +34-93-581-2229
> http://seneca.uab.es/csubirats/lali.html
> co-e: mortega@seneca.uab.es
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Start processes after reboot
1999-01-08 5:00 ` robis
@ 1999-01-08 5:00 ` Serguei Patchkovskii
1999-01-10 5:00 ` Chris King
0 siblings, 1 reply; 6+ messages in thread
From: Serguei Patchkovskii @ 1999-01-08 5:00 UTC (permalink / raw)
robis (robis@rasa.vtu.lt) wrote:
: Just put your startup script to /sbin/rc3.d or /sbin/rc2.d directory
: depending on your default runlevel in inittab.
: Script name should start with S in /sbin/rc3.d or K in /sbin/rc2.d.
DON'T.
Scripts in /sbin/rc?.d/ starting with letter 'S' are for entering
this run level. Scripts starting with 'K' are for leaving it, so
that if putting 'K' scripts in /sbin/rc2.d with execute them at
the system shutdown rather then at the start up, and with the wrong
argument ('stop' instead of 'start') to boot.
Probably not that you wanted, yeah?
/Serge.P
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Start processes after reboot
1999-01-08 5:00 ` Serguei Patchkovskii
@ 1999-01-10 5:00 ` Chris King
1999-01-12 5:00 ` Christian Krackowizer
0 siblings, 1 reply; 6+ messages in thread
From: Chris King @ 1999-01-10 5:00 UTC (permalink / raw)
In article <775e7p$120e@ds2.acs.ucalgary.ca>, Serguei Patchkovskii
<patchkov@acs1.acs.ucalgary.ca> writes
>Scripts in /sbin/rc?.d/ starting with letter 'S' are for entering
>this run level. Scripts starting with 'K' are for leaving it, so
>that if putting 'K' scripts in /sbin/rc2.d with execute them at
>the system shutdown rather then at the start up, and with the wrong
>argument ('stop' instead of 'start') to boot.
>
>Probably not that you wanted, yeah?
Look at them more closely... The 'S' and 'K' scripts are symlinked to
files in /sbin/init.d. If the sym-linked filename being with an 'S' at a
particular run-level, the script is executed with a 'start' parameter,
and if if begins with a 'K', the same script is executed with the 'stop'
parameter.
Chris
--
Chris King
chris@csking.demon.co.uk
http://www.csking.demon.co.uk
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Start processes after reboot
1999-01-10 5:00 ` Chris King
@ 1999-01-12 5:00 ` Christian Krackowizer
0 siblings, 0 replies; 6+ messages in thread
From: Christian Krackowizer @ 1999-01-12 5:00 UTC (permalink / raw)
In article <EiTxKAAaaIm2EwSy@csking.demon.co.uk>, chris@csking.demon.co.uk
says...
>
we have an entry in the inittab pointing to our own /etc/rc.technodat.
this works on OSF, AIX and HP-UX and is easy to manage.
--
+-----------------------------------------------------------------+
| Krackowizer Christian mailto:kra1@technodat.co.at |
| TECHNODAT Phone: ++43-(0)662-454944-0 |
| CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 |
| Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ |
| A-5020 Salzburg / Austria |
+-----------------------------------------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-01-12 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-07 5:00 Start processes after reboot Marc Ortega
1999-01-08 5:00 ` Rolf Hauck
1999-01-08 5:00 ` robis
1999-01-08 5:00 ` Serguei Patchkovskii
1999-01-10 5:00 ` Chris King
1999-01-12 5:00 ` Christian Krackowizer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox