#format wiki #language en = Linux systemd startup and process monitoring = * Links [[https://www.freedesktop.org/software/systemd/man/bootup.html|systemd bootup flow]] * User startup scripts in 1. $ ls /etc/systemd/system/ 2. $ == View process logs with jounalctl == * Links [[https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs|digitalocean]] * Set timezone for log display using * $ timedatectl list-timezones * $ sudo timedatectl set-timezone zone * $ timedatectl status * only logs for current boot / since last reboot * $ journalctl -b * $ journalctl --list-boots * $ journalctl --since "2015-01-10" --until "2015-01-11 03:00" * $ journalctl --since 09:00 --until "1 hour ago" * journalctl -u nginx.service -u php-fpm.service --since today == Refresh filesystems after updating /etc/fstab == * # systemctl daemon-reload * # systemctl restart remote-fs.target * # systemctl restart local-fs.target ...