[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
linux-PHC • new bash-based init-script
Page 1 of 1

new bash-based init-script

Posted: Wed 18. Feb 2009, 12:52
by the-fallen
I have created a bash-based init script that is compatible to our config new files.

To make it as easy as possible to new users to insall it i want to create an installer script.

This script will copy the script to <where??> and add a link to the rcX.ds.

So where would be the standart installation target? /etc/init.d ???
To what Runlevels it should be linked? 2, 3, 4 and 5 to start and 0, 1, 6 to stop?

Re: new bash-based init-script

Posted: Tue 7. Apr 2009, 19:46
by tntprog
So where would be the standart installation target? /etc/init.d ???
I think this is a good place. That's where that kind of scripts are located, right?
To what Runlevels it should be linked? 2, 3, 4 and 5 to start and 0, 1, 6 to stop?
It depends on each distro. But the quicker Linux PHC is launched, the higher energy is saved. Maybe we could write a different file for each distro? That's not so huge.

Re: new bash-based init-script

Posted: Tue 7. Apr 2009, 21:09
by the-fallen
Yeah I am already using my own suggested parameters :)

See init / autostart scripts Subforum.
But the user can change settings using my simple installer script.