diff options
author | Maxwell Pray | 2017-02-14 08:07:11 -0800 |
---|---|---|
committer | Maxwell Pray | 2017-02-14 08:07:11 -0800 |
commit | dfcb75623e2a107dc311e82f89838529ca2a3bc3 (patch) | |
tree | ea23fa6eb5a7a85837017b1008bf7df921b54d6b /vmware-networks-configuration.service | |
parent | 9c791a734d229b0ee186d51aa8f5f44f63b801cd (diff) | |
download | aur-dfcb75623e2a107dc311e82f89838529ca2a3bc3.tar.gz |
Add systemd services for vmware-networks.
Diffstat (limited to 'vmware-networks-configuration.service')
-rw-r--r-- | vmware-networks-configuration.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vmware-networks-configuration.service b/vmware-networks-configuration.service new file mode 100644 index 000000000000..779b01a3171a --- /dev/null +++ b/vmware-networks-configuration.service @@ -0,0 +1,14 @@ +[Unit] +Description=VMware Networks Configuration Generation +ConditionPathExists=|!/etc/vmware/networking +ConditionPathExists=|!/etc/vmware/vmnet1/dhcpd/dhcpd.conf +ConditionPathExists=|!/etc/vmware/vmnet1/dhcpd/dhcpd.leases +ConditionPathExists=|!/etc/vmware/vmnet8/dhcpd/dhcpd.conf +ConditionPathExists=|!/etc/vmware/vmnet8/dhcpd/dhcpd.leases +ConditionPathExists=|!/etc/vmware/vmnet8/nat/nat.conf + +[Service] +UMask=0077 +ExecStart=/usr/bin/vmware-networks --postinstall vmware-player,0,1 +Type=oneshot +RemainAfterExit=yes |