summarylogtreecommitdiffstats
path: root/nis-domainname.service
blob: 8771fed23b8153f6077faebafef9bafcac24a499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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]
EnvironmentFile=/etc/sysconfig/network
ExecStart=nisdomainname "${NISDOMAIN}"
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target