5d0eef
# For details how to adjust this file or change daemon settings, please, read ypbind(8).
5d0eef
[Unit]
5d0eef
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
5d0eef
Requires=rpcbind.service
5d0eef
Wants=nss-user-lookup.target network-online.target
5d0eef
After=syslog.target rpcbind.service ypserv.service
5d0eef
Before=systemd-user-sessions.service
5d0eef
Before=nss-user-lookup.target
5d0eef
5d0eef
[Service]
5d0eef
Type=notify
5d0eef
NotifyAccess=all
5d0eef
EnvironmentFile=-/etc/sysconfig/network
5d0eef
EnvironmentFile=-/etc/sysconfig/ypbind
5d0eef
ExecStartPre=/usr/libexec/ypbind-pre-setdomain
5d0eef
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1 
5d0eef
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
5d0eef
ExecStartPost=/usr/libexec/ypbind-post-waitbind
5d0eef
PrivateTmp=true
5d0eef
5d0eef
[Install]
5d0eef
WantedBy=multi-user.target