Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Run script to set up environment
- Before=getty@1.service getty@2.service getty@3.service getty@4.service getty@5.service getty@6.service
- [Service]
- Type=oneshot
- ExecStart=/bin/myscript
- [Unit]
- Description=Run script to set up environment
- [Service]
- Type=oneshot
- ExecStartPre=/bin/touch /etc/no-login-console
- ExecStart=/bin/myscript
- ExecStopPost=/bin/rm /etc/no-login-console
- [Unit]
- ConditionPathExists=!/etc/no-login-console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement