diff options
Diffstat (limited to 'systemd/system/rhel-domainname.service')
-rw-r--r-- | systemd/system/rhel-domainname.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/system/rhel-domainname.service b/systemd/system/rhel-domainname.service new file mode 100644 index 00000000..9aaaac9e --- /dev/null +++ b/systemd/system/rhel-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/rhel-domainname +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target |