Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.191.171.121
[Unit]
Description=Save initial kernel messages after boot
[Service]
Type=idle
StandardOutput=file:/var/log/dmesg
ExecStartPre=-/usr/bin/savelog -m640 -q -p -n -c 5 /var/log/dmesg
ExecStart=/bin/journalctl --boot 0 --dmesg --output short-monotonic --quiet --no-pager --no-hostname
ExecStartPost=/bin/chgrp adm /var/log/dmesg
ExecStartPost=/bin/chmod 0640 /var/log/dmesg
[Install]
WantedBy=multi-user.target
|