forked from pool/virtualbox
1ffdd9492b
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
22 lines
395 B
Desktop File
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
|
|
|