File VBoxAutostart@.service of Package systemd-vboxinit
# ==================================================================================== #
# Unit file for systemd-vboxinit. #
# https://github.com/Jetchisel/VBoxAutostart #
# Created: Wed Oct 2 07:57:25 PHT 2013 / Wed Oct 2 03:11:58 UTC 2013 #
# Last Edit: Mon 04 Oct 2021 12:26:16 PM PST / Mon 04 Oct 2021 04:26:16 AM UTC #
# ==================================================================================== #
[Unit]
Description=VBox Virtual Machine Service for %I
Requires=systemd-modules-load.service
After=network.target vboxdrv.service systemd-modules-load.service
Before=shutdown.target halt.target runlevel2.target
DefaultDependencies=no
Documentation=man:systemd-vboxinit(1) file:///usr/share/doc/packages/systemd-vboxinit/README
[Service]
User=%I
Restart=no
Type=forking
KillMode=control-group
GuessMainPID=no
Group=vboxusers
TimeoutStopSec=40
IgnoreSIGPIPE=false
RemainAfterExit=yes
StandardOutput=journal+console
ExecStart=-/usr/lib/systemd-vboxinit.d/systemd-vboxinit --start
ExecStop=-/usr/lib/systemd-vboxinit.d/systemd-vboxinit --stop
[Install]
WantedBy=multi-user.target