[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