Skip to content

Instantly share code, notes, and snippets.

@h0tw1r3
Last active January 18, 2017 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h0tw1r3/6a24cc18f2971d608bc1232039dbf4c2 to your computer and use it in GitHub Desktop.
Save h0tw1r3/6a24cc18f2971d608bc1232039dbf4c2 to your computer and use it in GitHub Desktop.
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