2020-08-24 18:26:56 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Read and set NIS domainname from /etc/sysconfig/network
|
|
|
|
Before=ypbind.service yppasswdd.service ypserv.service ypxfrd.service sysinit.target
|
2021-05-07 04:12:47 +00:00
|
|
|
After=network-online.target
|
2020-08-24 18:26:56 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
ConditionPathExists=/etc/sysconfig/network
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/libexec/hostname/nis-domainname
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sysinit.target
|