43

My question is simple: how do I tell journald to re-read its configuration file without rebooting?

I've made some changes to /etc/systemd/journald.conf and I'd like to see if they are correct and everything works as I expect.

I do not want to reboot.

45

To control running services with systemd, use the systemctl utility. This utility is similar to the service utility provided by SysVinit and Upstart. Among others:

  • systemctl status systemd-journald indicates whether the service is running and additional information if it is.
  • systemctl start systemd-journald starts the service (systemd unit).
  • systemctl stop systemd-journald stops the service.
  • systemctl restart systemd-journald restarts the service.
  • systemctl reload systemd-journald reloads the service's configuration if possible, but will not kill it (so no risk of a service interruption or of disrupting processing in progress, but the service may keep running with a stale configuration).
  • systemctl force-reload systemd-journald reloads the service's configuration if possible, and if not restarts the service (so the service is guaranteed to use the current configuration, but this may interrupt something).
  • systemctl daemon-reload reloads systemd's own configuration.
21

systemctl restart systemd-journald does the trick.

I'm answering it myself as googling it does not return any useful page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.