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