[HOME]

Path : /etc/systemd/system/basic.target.wants/
Upload :
Current File : //etc/systemd/system/basic.target.wants/rhel-dmesg.service

[Unit]
Description=Dump dmesg to /var/log/dmesg
After=basic.target
ConditionVirtualization=!container

[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/rhel-dmesg
RemainAfterExit=yes

[Install]
WantedBy=basic.target