Hi Team,
In centos 6 if i want to start a service in run level 3 i can mention it using the chkconfig --level , can some one please tell how to perform the same kind of task in centos 7 , i want to enable a service only in multiuser, non graphical mode.
Regards
Kanna
chkconfig vs systemd
Re: chkconfig vs systemd
systemctl enable $service
Your unit file then has to depend on the right services so that it starts when it should and not when it shouldn't.
Your unit file then has to depend on the right services so that it starts when it should and not when it shouldn't.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: chkconfig vs systemd
Probably a 'Conflicts=' is required.
https://unix.stackexchange.com/question ... e-services
https://unix.stackexchange.com/question ... e-services
Re: chkconfig vs systemd
Hi Trevorh,
you menat to say that services are based on targets, so all the services wont run in all the targets
Regards
Kanna
you menat to say that services are based on targets, so all the services wont run in all the targets
Regards
Kanna