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
Anne
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.
Paul.
On Tuesday 31 Jan 2006 10:59, Paul Howarth wrote:
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.
Duh! Clearly not enough caffeine this morning. Thanks, Paul.
Anne
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
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
Aaron Konstam wrote:
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.
You can also read the sysvinitfiles in the initscripts docs for a detailed description. The header is also covered in the chkconfig man page.
Mikkel
From: "Anne Wilson" cannewilson@tiscali.co.uk
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
chkconfig --add popfile chkconfig popfile on
Probably only the latter is needed. You can check with: chkconfig --list popfile
Several other solutions exist like ntsysv and so forth. {^_^}
On Tuesday 31 Jan 2006 22:15, jdow wrote:
From: "Anne Wilson" cannewilson@tiscali.co.uk
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
chkconfig --add popfile chkconfig popfile on
Probably only the latter is needed. You can check with: chkconfig --list popfile
Several other solutions exist like ntsysv and so forth. {^_^}
Actually, that's pretty well what I did. chkconfig --add popfile chkconfig --levels 345 popfile on chkconfig --list popfile
It just took a little prod to wake me up :-)
Anne