Created
April 28, 2016 02:52
-
-
Save s1kx/8d5c83817b7846106a78c7ab35c22d3f to your computer and use it in GitHub Desktop.
systemd units for ufw + vmware workstation setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=VMware Workstation Server | |
| Requires=vmware.service | |
| After=vmware.service | |
| [Service] | |
| ExecStart=/etc/init.d/vmware-workstation-server start | |
| ExecStop=/etc/init.d/vmware-workstation-server stop | |
| PIDFile=/var/lock/subsys/vmware-workstation-server | |
| RemainAfterExit=yes | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=VMware daemon | |
| Requires=vmware-usbarbitrator.service | |
| Before=vmware-usbarbitrator.service | |
| Wants=network.target | |
| After=ufw.service | |
| [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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment