summaryrefslogtreecommitdiff
path: root/testing/yp-tools/domainname.service
diff options
context:
space:
mode:
Diffstat (limited to 'testing/yp-tools/domainname.service')
-rw-r--r--testing/yp-tools/domainname.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/yp-tools/domainname.service b/testing/yp-tools/domainname.service
new file mode 100644
index 000000000..035f767c8
--- /dev/null
+++ b/testing/yp-tools/domainname.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=NIS Domainname
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/conf.d/nisdomainname
+ExecStart=/usr/bin/nisdomainname $NISDOMAINNAME
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target