1
0
forked from pool/virtualbox
virtualbox/vboxdrv.service
Larry Finger 1ffdd9492b - VirtualBox has always been started by systemd utilizing the old-style scripts in /etc/init.d.
These should be converted to the service files native to systemd. This issue has been forced
  as a recent update to Tumbleweed broke the startup of VB for both TW hosts and guests. This
  change starts the conversion to native systemd files. The original scripts are still used; however,
  service files are used to start and stop the VB components. In a later change, all action will
  be accomplished using systemd service files.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=327
2017-04-29 05:52:10 +00:00

22 lines
395 B
Desktop File

[Unit]
Description=Start/Stop VirtualBox host kernel modules
SourcePath=/etc/init.d/vboxdrv
After=remote-fs.target
Wants=remote-fs.target
[Service]
Type=simple
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/vboxdrv start
ExecStop=/etc/init.d/vboxdrv stop
[Install]
WantedBy=multi-user.target.wants