diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-06-04 17:23:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-06-04 17:23:22 +0100 |
commit | 6dbe42f0406d179ae3061655ee9536f325452939 (patch) | |
tree | 49b33ce82befea676253d79f49d026f5252a94a3 /app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service | |
parent | 8b096a612ec4e8cadaa1c77b7f34b9253d91f4e4 (diff) |
bring back all virtualbox integration
Diffstat (limited to 'app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service')
-rw-r--r-- | app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service new file mode 100644 index 00000000..35f9ce24 --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions.service @@ -0,0 +1,16 @@ +[Unit] +Description=VirtualBox Guest Additions +ConditionVirtualization=oracle +Before=display-manager.service + +[Service] +Type=simple +ExecStartPre=/sbin/modprobe vboxguest +ExecStartPre=/sbin/modprobe vboxsf +ExecStart=/usr/sbin/vboxguest-service --foreground +ExecStopPost=/sbin/modprobe -r vboxsf +ExecStopPost=/sbin/modprobe -r vboxguest +PIDFile=/var/run/vboxguest-service.pid + +[Install] +WantedBy=multi-user.target |