17 lines
553 B
Desktop File
17 lines
553 B
Desktop File
[Unit]
|
|
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
|
|
Requires=rpcbind.service
|
|
After=syslog.target network.target rpcbind.service ypserv.service
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/network
|
|
EnvironmentFile=-/etc/sysconfig/ypbind
|
|
ExecStartPre=-/usr/lib/ypbind/ypbind-pre-setdomain
|
|
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
|
|
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
|
|
ExecStopPost=-/usr/sbin/setsebool allow_ypbind=0
|
|
ExecStopPost=/usr/lib/ypbind/ypbind-post-waitbind
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|