Re: Starting a service at bootup



On Tuesday 31 Jan 2006 11:40, Aaron Konstam wrote:
> > Anne Wilson wrote:
> >> I have installed popfile, which has a startup script in
> >> /etc/init.d. At the moment when I boot up I can start popfile
> >> running with 'service popfile start'.
> >>
> >> I want this to be an automatic startup but I've got a total blank
> >> on how to achieve this. Could someone please prompt me? Thanks
> >
> > If the initscript has been written to support chkconfig, then:
> >
> > # chkconfig popfile on
> >
> > should do the trick.
> >
> > Try:
> >
> > # chkconfig popfile --list
> >
> > to see the startup status for each runlevel.
>
> However, for this to work you need to add a special header to the
> file in /etc/init.d specifying at what run levels and in what order
> you want the script to run. Look at other files in this directory to
> see examples of the header lines you need to add.
>
OK - thanks, Aaron.

Anne
--
Registered Linux User No.293302 (http://counter.li.org/)

Attachment:pgpkSNmSUa5TA.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Relevant Pages

  • Re: startup script on winxp
    ... network at comptuer startup and logon," as an option in Computer ... do not detect slow network connections ... maximum retries to unload and update user profile ... I'm not sure if that effects the startup script however. ...
    (microsoft.public.scripting.vbscript)
  • Re: startup script on winxp
    ... network at comptuer startup and logon," as an option in Computer ... do not detect slow network connections ... maximum retries to unload and update user profile ... I'm not sure if that effects the startup script however. ...
    (microsoft.public.win2000.group_policy)
  • Re: startup script on winxp
    ... network at comptuer startup and logon," as an option in Computer ... do not detect slow network connections ... maximum retries to unload and update user profile ... I'm not sure if that effects the startup script however. ...
    (microsoft.public.windows.group_policy)
  • Re: Resetting PATH (system env.) during startup
    ... >REM Fixes path: ... >REM (Continue startup script) ... You can use reg.exe, built into Windows XP, Windows Server 2003, and later, ...
    (microsoft.public.windows.group_policy)
  • Starting a service at bootup
    ... I have installed popfile, which has a startup script in /etc/init.d. ... the moment when I boot up I can start popfile running with 'service ...
    (Fedora)