[aur-general] New file "/etc/rc?"
I'm a tad confused about the purpose of /etc/rc. It says its used for the control of daemons and starting and stopping them. Does this mean its replacing the daemons array or something? And with the starting and stopping of daemons... is this for automation or something. The news page doesn't really offer that much explanation about this new file.
On Tue, May 03, 2011 at 11:56:23AM -0500, Yaro Kasear wrote:
I'm a tad confused about the purpose of /etc/rc. It says its used for the control of daemons and starting and stopping them. Does this mean its replacing the daemons array or something? And with the starting and stopping of daemons... is this for automation or something.
The news page doesn't really offer that much explanation about this new file.
1st of, it's /sbin/rc. 2nd of, instead of writing /etc/rc.d/nginx start; /etc/rc.d/gpm start you can now write rc start nginx gpm 3rd of, no, DAEMONS array will stay here. -- Cheers, -- Kwpolska (http://kwpolska.co.cc) O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Yaro Kasear wrote:
I'm a tad confused about the purpose of /etc/rc. It says its used for the control of daemons and starting and stopping them. Does this mean its replacing the daemons array or something? And with the starting and stopping of daemons... is this for automation or something.
The news page doesn't really offer that much explanation about this new file.
You mean /sbin/rc ? Its just a script that can change or merely show the state of every script in /etc/rc.d/ . Plus its only 50 LOC in bash and it even includes usage examples. You should just read it. Its not replacing anything. PS. The aur-general mailing list is not the place for this kind of questions. Please continue to arch-general. ---- Greg
On 3 May 2011 13:56, Yaro Kasear <yaro@marupa.net> wrote:
I'm a tad confused about the purpose of /etc/rc. It says its used for the control of daemons and starting and stopping them. Does this mean its replacing the daemons array or something? And with the starting and stopping of daemons... is this for automation or something.
The news page doesn't really offer that much explanation about this new file.
I'm not sure but it sounds like the service command Ubuntu (I don't know about Debian) uses. The syntax is pretty simple: service ssh start starts /etc/init.d/sshd. I haven't used /sbin/rc yet but I feel it works the same way. It won't affect the daemons array, it's just a way of starting, restarting and stopping daemons whilst the system is running. -- Rafael Beraldo http://devio.us/~rberaldo/
On Tue, May 3, 2011 at 6:56 PM, Yaro Kasear <yaro@marupa.net> wrote:
I'm a tad confused about the purpose of /etc/rc. It says its used for the control of daemons and starting and stopping them. Does this mean its replacing the daemons array or something? And with the starting and stopping of daemons... is this for automation or something.
The news page doesn't really offer that much explanation about this new file.
Hi, Idea behind this script is to be able to start deamons like if it was started by init at boot. In this release it's not the case, see next one : http://projects.archlinux.org/initscripts.git/commit/?id=69b4aac9d13d3c4a6c4... -- Sébastien Luttringer www.seblu.net
participants (5)
-
Grigorios Bouzakis
-
Kwpolska
-
Rafael Beraldo
-
Seblu
-
Yaro Kasear