diff options
author | Evan Teran <evan.teran@gmail.com> | 2015-08-12 05:00:02 +0000 |
---|---|---|
committer | Evan Teran <evan.teran@gmail.com> | 2015-08-12 05:00:02 +0000 |
commit | 6065d5456b4082cd1e58ed7421b74ce69791dee6 (patch) | |
tree | 0e81e56f99de86b2330d827f4637a6c208b13003 /app-emulation/vmware-player/files/vmware-network.service | |
parent | Merge branch 'master' of git://git.gentoo.org/proj/vmware (diff) | |
parent | Added systemd service support for app-emulation/vmware-player (diff) | |
download | vmware-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.service | 17 |
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 |