summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Affolter <christian.affolter@stepping-stone.ch>2015-08-04 17:10:12 +0200
committerChristian Affolter <christian.affolter@stepping-stone.ch>2015-08-04 17:10:12 +0200
commit741e4d9a127566fd90531a2565d9628764622176 (patch)
tree0e81e56f99de86b2330d827f4637a6c208b13003 /app-emulation/vmware-player/files/vmware-usbarbitrator.service
parentMerge branch 'master' of git://git.gentoo.org/proj/vmware (diff)
downloadvmware-741e4d9a127566fd90531a2565d9628764622176.tar.gz
vmware-741e4d9a127566fd90531a2565d9628764622176.tar.bz2
vmware-741e4d9a127566fd90531a2565d9628764622176.zip
Added systemd service support for app-emulation/vmware-player
Created two systemd service unit files according to the existing OpenRC init script: * vmware-usbarbitrator.service manages the VMware USB Arbitrator * vmware-network.service manages the VMware host network It was decided to split the existing OpenRC init script, in order to have a better dependency handling and to adhere to Gentoo's Systemd/Ebuild policy.
Diffstat (limited to 'app-emulation/vmware-player/files/vmware-usbarbitrator.service')
-rw-r--r--app-emulation/vmware-player/files/vmware-usbarbitrator.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/vmware-usbarbitrator.service b/app-emulation/vmware-player/files/vmware-usbarbitrator.service
new file mode 100644
index 0000000..16a0fb8
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-usbarbitrator.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=VMware USB Arbitrator
+Requires=local-fs.target
+Before=vmware-network.service
+
+[Service]
+Type=forking
+ExecStart=/opt/vmware/bin/vmware-usbarbitrator
+
+[Install]
+WantedBy=multi-user.target