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