summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Teran <evan.teran@gmail.com>2015-08-12 05:00:02 +0000
committerEvan Teran <evan.teran@gmail.com>2015-08-12 05:00:02 +0000
commit6065d5456b4082cd1e58ed7421b74ce69791dee6 (patch)
tree0e81e56f99de86b2330d827f4637a6c208b13003 /app-emulation/vmware-player/files/vmware-network.service
parentMerge branch 'master' of git://git.gentoo.org/proj/vmware (diff)
parentAdded systemd service support for app-emulation/vmware-player (diff)
downloadvmware-6065d5456b4082cd1e58ed7421b74ce69791dee6.tar.gz
vmware-6065d5456b4082cd1e58ed7421b74ce69791dee6.tar.bz2
vmware-6065d5456b4082cd1e58ed7421b74ce69791dee6.zip
Merge branch 'stepping-stone-feature/systemd'
Diffstat (limited to 'app-emulation/vmware-player/files/vmware-network.service')
-rw-r--r--app-emulation/vmware-player/files/vmware-network.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/vmware-network.service b/app-emulation/vmware-player/files/vmware-network.service
new file mode 100644
index 0000000..abc6648
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-network.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=VMware Network
+Requires=local-fs.target
+Wants=network.target vmware-usbarbitrator.service
+After=local-fs.target network.target vmware-usbarbitrator.service
+
+[Service]
+Type=simple
+ExecStartPre=/sbin/modprobe -av vmci vmmon vsock vmblock vmnet
+ExecStart=/opt/vmware/bin/vmware-networks --start
+ExecStop=/opt/vmware/bin/vmware-networks --stop
+ExecStopPost=/sbin/modprobe -rv vmmon vsock vmblock vmnet vmci
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target