Skip to content

Instantly share code, notes, and snippets.

@onokatio
Created November 27, 2016 12:53
Show Gist options
  • Save onokatio/441a62547f5374d399199c6bdcceb991 to your computer and use it in GitHub Desktop.
Save onokatio/441a62547f5374d399199c6bdcceb991 to your computer and use it in GitHub Desktop.
/etc/systemd/system/onboot.service
[Unit]
Description=auto start commands in /etc/onboot.sh on boot
[Service]
Type=simple
ExecStart=/etc/onboot.sh
User=vagrant
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment