Skip to content

Instantly share code, notes, and snippets.

@h0tw1r3
Last active Jan 18, 2017
Embed
What would you like to do?
systemd rc.local compatibility
[Unit]
Description=/etc/rc.local Compatibility
DefaultDependencies=false
ConditionFileIsExecutable=/etc/rc.local
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/etc/rc.local
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment