diff --git a/arch-config/etc/systemd/system/vmware-networks-server.service b/arch-config/etc/systemd/system/vmware-networks-server.service new file mode 100644 index 00000000..7d520a28 --- /dev/null +++ b/arch-config/etc/systemd/system/vmware-networks-server.service @@ -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 diff --git a/arch-config/etc/systemd/system/vmware-usbarbitrator.service b/arch-config/etc/systemd/system/vmware-usbarbitrator.service new file mode 100644 index 00000000..0877c90c --- /dev/null +++ b/arch-config/etc/systemd/system/vmware-usbarbitrator.service @@ -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 diff --git a/arch-config/etc/systemd/system/vmware.service b/arch-config/etc/systemd/system/vmware.service new file mode 100644 index 00000000..2078e744 --- /dev/null +++ b/arch-config/etc/systemd/system/vmware.service @@ -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