Add Systemd files for vmware
This commit is contained in:
parent
bd4e3dd909
commit
265df71f97
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=VMware Networks
|
||||
Wants=vmware-networks-configuration.service
|
||||
After=vmware-networks-configuration.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=-/sbin/modprobe vmnet
|
||||
ExecStart=/usr/bin/vmware-networks --start
|
||||
ExecStop=/usr/bin/vmware-networks --stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
12
arch-config/etc/systemd/system/vmware-usbarbitrator.service
Normal file
12
arch-config/etc/systemd/system/vmware-usbarbitrator.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=VMware USB Arbitrator
|
||||
Requires=vmware.service
|
||||
After=vmware.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/vmware-usbarbitrator
|
||||
ExecStop=/usr/bin/vmware-usbarbitrator --kill
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
14
arch-config/etc/systemd/system/vmware.service
Normal file
14
arch-config/etc/systemd/system/vmware.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=VMware daemon
|
||||
Requires=vmware-usbarbitrator.service
|
||||
Before=vmware-usbarbitrator.service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/etc/init.d/vmware start
|
||||
ExecStop=/etc/init.d/vmware stop
|
||||
PIDFile=/var/lock/subsys/vmware
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user