Created
March 23, 2020 12:00
-
-
Save assafmo/4b9899c5efcf8b803aa6b5f952399dc3 to your computer and use it in GitHub Desktop.
Create a startup script with systemd (/etc/rc.local replacement)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put in /etc/systemd/system/script-name.service | |
# Then run `sudo systemctl enable script-name` | |
[Unit] | |
Description=bla bla | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/mount -o remount,exec /dev | |
RemainAfterExit=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment