15 lines
378 B
SYSTEMD
15 lines
378 B
SYSTEMD
|
[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
|
||
|
ConditionPathExists=/etc/sysconfig/network
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/libexec/hostname/nis-domainname
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sysinit.target
|