Apparently, Fedora is transitioning from SysVinit to Systemd: Fedora features/systemd
I realized something was amiss when attempting to set runlevels for 2 services: sshd and mongod.
I ran the following commands:
1 2 | # chkconfig sshd on # chkconfig mongod on |
and proceeded to reboot the server.
My understanding is that these commands should turn runlevels 2, 3, 4, 5 on for both sshd and mongod services.
When I restarted, I was able to verify via testing that these 2 services came up as expected.
However, when I went to run:
1 | # chkconfig --list |
These services did not appear in the list.
After doing some more research, I found the following guide: Fedora SysVinit to Systemd Cheatsheet.
Ran the new equivalent of chkconfig --list:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # ls /etc/systemd/system/*.wants ... /etc/systemd/system/multi-user.target.wants: abrt-ccpp.service chronyd.service nfs-lock.service abrtd.service crond.service remote-fs.target abrt-oops.service cups.path rpcbind.service abrt-vmcore.service irqbalance.service rsyslog.service acpid.service mcelog.service sendmail.service arp-ethers.service mdmonitor.service smartd.service atd.service mongod.service sm-client.service auditd.service multipathd.service sshd.service avahi-daemon.service NetworkManager.service ... |
It will take some time to get used to this new syntax for systemd ... so used to chkconfig and service.
No comments:
Post a Comment