File ypbind.service of Package ypbind
[Unit]
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
Requires=rpcbind.service
After=syslog.target network.target rpcbind.service ypserv.service
Before=systemd-user-sessions.service
[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/ypbind
ExecStartPre=/usr/lib/ypbind/ypbind-systemd-pre
ExecStartPost=/usr/lib/ypbind/ypbind-systemd-post
ExecStart=/usr/lib/ypbind/ypbind-systemd-exec
ExecStopPost=/bin/sh -c "/bin/rm -f /var/yp/binding/* /var/run/ypbind.pid"
[Install]
WantedBy=multi-user.target