You are not logged in.
According to https://wiki.archlinux.org/index.php/Rc.conf I should transfer my configuration to other files, however I'm not sure where to transfer my daemons line
DAEMONS=(syslog-ng acpid dbus @sensors @wicd @alsa @cupsd @crond)
must be somewhere in /etc/rc.d/ according to https://wiki.archlinux.org/index.php/DAEMONS, but which configuration file includes the daemons now?
Thanks and best regards
mumpf
Last edited by mumpf (2012-08-21 09:37:09)
Offline
Offline
the relevant line of your link is out of date: "These programs can be added to the DAEMONS line in /etc/rc.conf " And I do not know where to add this line instead now.
Last edited by mumpf (2012-08-20 19:10:50)
Offline
The link kukibird1 supplied is correct. If you are using SysVinit, you use the DAEMONS line in rc.conf, if you are using systemd then you start the services with systemctl.
Unless you are using an alternate init system like systemd, /etc/rc.conf configures which daemons to start during boot-up and some networking and storage information.
Offline
the relevant line of your is out of date: "These programs can be added to the DAEMONS line in /etc/rc.conf " And I do not know where to add this line instead now.
You can leave your Daemons line where it is for now. Arch has plans to use https://wiki.archlinux.org/index.php/Systemd/ which will use unit files for starting/stopping services. If you have no plans to test systemd you can leave the info in your rc.conf file where it is or move just the hostname,console,locale info to these separate files as the old init system can read both.
Offline
thank you for your information. Sorry kukibird, I misunderstood you. I was not sure, whether or not I have to set the configuration files soon. The header of my post was not very well set (I have changed the header now). At the present I'm using SysVinit, but in a while I will have to use systemd (when will I have to do this change?). That's why I wonder how to migrate the configuration and where to copy the DAEMON's line (before migrating to systemd). "the new configuration files take precedence and using them is recommended" according to the rc.conf wiki.
In the rc.conf wiki it is said about the daemons: "A space-separated list of scripts located in /etc/rc.d/ which are started during the boot process." Do I have to change the DAEMONs' line into separated scripts? The syntax ot the example looks exactly as it used to be.
My rc.conf with remarks where to transfer the relevant line:
# LOCALIZATION
# ------------
LOCALE="de_CH.UTF-8" #copied to /etc/locale.conf
HARDWARECLOCK="localtime" #copied to /etc/adjtime
TIMEZONE="Europe/Zurich"#copied to /etc/localtime
KEYMAP="sg-latin1"#copied to /etc/vconsole.conf
CONSOLEFONT=
CONSOLEMAP=
DAEMON_LOCALE="yes"#obsolet
USECOLOR="yes"
# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
# ----------
HOSTNAME=
#interface=eth0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"#default
# DAEMONS
# -------
#
DAEMONS=(syslog-ng acpid dbus @sensors @wicd @alsa @cupsd @crond)#to copy to ?
Last edited by mumpf (2012-08-20 19:48:57)
Offline
can you please use [ code ] tags when pasting snippets ?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Please READ what jasonwryan posted. You did not comprehend the section of the wiki that he so helpfully pulled out for you...
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
In the rc.conf wiki it is said about the daemons: "A space-separated list of scripts located in /etc/rc.d/ which are started during the boot process." Do I have to change the DAEMONs' line into separated scripts?
Do not get caught up with /etc/rc.d/. What the wiki is simply saying is the daemons are located in /etc/rc.d/. If you browse to that directory you will find many executables for the daemons.
For SysVinit, you just use the DAEMONS line in your rc.conf file. For SystemD you use units, read the wiki:
https://wiki.archlinux.org/index.php/Sy … sing_Units
If you plan on switching to SystemD now, I highly suggest you read over the wiki several times slowly. It contains the information you need.
Offline
Hi anonymous_user
Thank you for your detailed explanation. I'm beginning to understand the principle.
if you are using systemd then you start the services with systemctl.
I did not understand that, obviously it's a total different way to start services, so I will have to read the wiki...
However I must say, it's confusing, that the Daemons section of the wiki https://wiki.archlinux.org/index.php/Be … de#Daemons
refers only to the present state, but the other parts refer allready to systemd.
Last edited by mumpf (2012-08-21 09:38:40)
Offline
Its a wiki, Arch has only just changed over to systemd, someone needs to actually do the update .
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline