summarylogtreecommitdiffstats
path: root/vmware-networks-configuration.service
diff options
context:
space:
mode:
authorJean-Marc Lenoir2018-01-14 11:59:24 +0100
committerJean-Marc Lenoir2018-01-14 11:59:24 +0100
commitb091575043e114ae3f1741823aec15c4e9941ae0 (patch)
treea83a487e7e7cdd6a669570fe137f0863f30b411b /vmware-networks-configuration.service
downloadaur-b091575043e114ae3f1741823aec15c4e9941ae0.tar.gz
Initial commit.
Diffstat (limited to 'vmware-networks-configuration.service')
-rw-r--r--vmware-networks-configuration.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/vmware-networks-configuration.service b/vmware-networks-configuration.service
new file mode 100644
index 00000000000..779b01a3171
--- /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