Reiniciar Servisios de Red Hat o Centos
Reiniciar Servisios de Red Hat o Centos
# more /etc/init.d/README
You are looking for the traditional init scripts in /etc/rc.d/init.d,
and they are gone?
Thank you!
Further reading:
man:systemctl(1)
man:systemd(1)
http://0pointer.de/blog/projects/systemd-for-admins-3.html
http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
# systemctl
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary
Executable File Formats File System Automo
sys-devices-pci0...et1:0:0-1:0:0:0-block-sr0.device loaded active plugged VBOX_CD-
ROM
sys-devices-pci0...0-0000:00:03.0-net-enp0s3.device loaded active plugged PRO/1000
MT Desktop Adapter
sys-devices-pci0...-0000:00:05.0-sound-card0.device loaded active plugged 82801AA
AC'97 Audio Controller
sys-devices-pci0...:0-2:0:0:0-block-sda-sda1.device loaded active plugged
VBOX_HARDDISK
sys-devices-pci0...:0-2:0:0:0-block-sda-sda2.device loaded active plugged LVM PV
F3zoLx-uSaP-faJK-Vhz7-iJC4-XFml-QjX37E on /de
sys-devices-pci0...et2:0:0-2:0:0:0-block-sda.device loaded active plugged
VBOX_HARDDISK
# systemctl list-units
Como podis observar nos ofrece mucha ms informacin que el tpico status
que tenamos en init.d y service. Incluso podemos ver el log completo o
slo la parte que engloba el arranque:
Iniciar servicio:
Parar servicio: