-
-
Save ShadowKyogre/9fc7e8ad035618773fd1 to your computer and use it in GitHub Desktop.
OpenRC services
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
| #!/usr/bin/openrc-run | |
| depend() { | |
| need localmount | |
| after net | |
| } | |
| start() { | |
| /usr/lib/systemd/scripts/dkms start | |
| } | |
| stop() { | |
| /usr/lib/systemd/scripts/dkms stop | |
| } |
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
| #!/usr/bin/openrc-run | |
| depend() { | |
| before net | |
| provide firewall | |
| } | |
| start() { | |
| /usr/lib/ufw/ufw-init start &> /dev/null & | |
| } | |
| stop() { | |
| /usr/lib/ufw/ufw-init stop | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment