1 2 3 4 5 6 7 8 9 10
[Unit] Description=Simple example service After=dracut-pre-mount.service network.target DefaultDependencies=no [Service] Type=oneshot RemainAfterExit=true KillMode=none ExecStart=/usr/bin/bash -c '/usr/bin/echo test >/tmp/test-output.txt'