Tech > systemd

systemd

Enabling a service

  # systemctl enable ntpd.service

Disabling a service

  # systemctl disable ntpd.service

Starting a service

  # systemctl start nptd.service

Stopping a service

  # systemctl stop nptd.service

Reloading a service after modifying systemd configuration

  # systemctl daemon-reload
  # systemctl restart nptd.service

journalctl

  $ sudo journalctl --follow _SYSTEMD_UNIT=avahi-daemon.service
  $ sudo journalctl --follow --lines=10 --unit=avahi-daemon
  $ sudo journalctl -f -n 10 -u avahi-daemon

References

-- Frank Dean - 26 Feb 2016