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