HEX
Server: nginx/1.24.0
System: Linux ip-10-50-20-85 6.5.0-1022-aws #22~22.04.1-Ubuntu SMP Fri Jun 14 16:31:00 UTC 2024 x86_64
User: usefuloffices.org (1001)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //etc/systemd/system/multi-user.target.wants/dmesg.service
[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