Skip to content

Instantly share code, notes, and snippets.

@AnnoyingTechnology
Last active November 12, 2018 08:38
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 AnnoyingTechnology/fe7da2cce11a6a669c9fc03ec3e8fc8c to your computer and use it in GitHub Desktop.
Save AnnoyingTechnology/fe7da2cce11a6a669c9fc03ec3e8fc8c to your computer and use it in GitHub Desktop.
Keep VirtualBox's vboxwebsrv alive on systemd

As vboxwebsrv keeps dying, this is a quick and dirty fix.

/etc/systemd/system/vboxwebsrv.service

[Unit]
Description=vboxwebsrv

[Service]
ExecStart=/usr/bin/vboxwebsrv
Restart=always

[Install]
WantedBy=multi-user.target

systemctl enable vboxwebsrv.service

systemctl start vboxwebsrv.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment