aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/system/nis-domainname.service
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/system/nis-domainname.service')
-rw-r--r--usr/lib/systemd/system/nis-domainname.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/nis-domainname.service b/usr/lib/systemd/system/nis-domainname.service
new file mode 100644
index 00000000..3f8412ae
--- /dev/null
+++ b/usr/lib/systemd/system/nis-domainname.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Read and set NIS domainname from /etc/sysconfig/network
+Before=ypbind.service yppasswdd.service ypserv.service ypxfrd.service sysinit.target
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+ExecStart=/usr/lib/systemd/nis-domainname
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target