File ypbind.service of Package ypbind

[Unit]
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
Requires=rpcbind.service
After=network.target rpcbind.service ypserv.service
Before=systemd-user-sessions.service

[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/ypbind
# Do not call ypbind-systemd-pre from ExecStartPre to keep the
# keep OTHER_YPBIND_OPTS options which have to be passed as options
# suggested by fcrozat@suse.com
ExecStart=/bin/sh -c "/usr/share/ypbind/ypbind-systemd-pre; exec /usr/sbin/ypbind -n $OTHER_YPBIND_OPTS"
ExecStartPost=/usr/share/ypbind/ypbind-systemd-post
ExecStopPost=/bin/sh -c "/bin/rm -f /var/yp/binding/* /var/run/ypbind.pid"

[Install]
WantedBy=multi-user.target
openSUSE Build Service is sponsored by