[Unit] Description=The ypbind daemon which binds NIS/YP clients to NIS domain Requires=rpcbind.service After=syslog.target network.target rpcbind.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