summaryrefslogtreecommitdiff
path: root/extra/yp-tools/domainname.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yp-tools/domainname.service')
-rw-r--r--extra/yp-tools/domainname.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/yp-tools/domainname.service b/extra/yp-tools/domainname.service
new file mode 100644
index 000000000..035f767c8
--- /dev/null
+++ b/extra/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