forked from pool/virtualbox
21 lines
479 B
SYSTEMD
21 lines
479 B
SYSTEMD
|
[Unit]
|
||
|
SourcePath=/usr/lib/virtualbox/vboxweb-service.sh
|
||
|
Description=
|
||
|
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
|
||
|
After=vboxdrv.service
|
||
|
Conflicts=shutdown.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Restart=no
|
||
|
TimeoutSec=5min
|
||
|
IgnoreSIGPIPE=no
|
||
|
KillMode=process
|
||
|
GuessMainPID=no
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start
|
||
|
ExecStop=/usr/lib/virtualbox/vboxweb-service.sh stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|