Re: Starting a service at bootup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.



--
Aaron Konstam
Professor Emeritus, Computer Science
Trinity University
San Antonio, Texas
210-999-7484


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux