soios/os/layers/training-installer/includes.chroot/etc/systemd/system/reset-user.service

15 lines
316 B
SYSTEMD

[Unit]
Description=Reset user at boot by setting a kernel parameter.
Before=basic.target
After=local-fs.target systemd-tmpfiles-setup.service
DefaultDependencies=no
ConditionKernelCommandLine=reset-user
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/reset-user
[Install]
WantedBy=basic.target