2012-07-14 11:18:59 +00:00
|
|
|
[Unit]
|
2014-07-26 07:41:49 +00:00
|
|
|
Description=NIS/YP Clients to NIS Domain Binder
|
|
|
|
|
Documentation=man:ypbind(8)
|
2012-07-14 11:18:59 +00:00
|
|
|
Requires=rpcbind.service
|
2019-03-26 11:52:53 +00:00
|
|
|
Wants=nss-user-lookup.target network-online.target
|
|
|
|
|
After=network.target rpcbind.service ypserv.service nss-lookup.target network-online.target
|
2014-07-26 07:41:49 +00:00
|
|
|
Before=systemd-user-sessions.service nss-user-lookup.target
|
2012-07-14 11:18:59 +00:00
|
|
|
|
|
|
|
|
[Service]
|
2013-07-29 07:27:56 +00:00
|
|
|
Type=notify
|
|
|
|
|
NotifyAccess=all
|
2020-08-29 10:08:47 +00:00
|
|
|
EnvironmentFile=-/usr/etc/default/ypbind
|
|
|
|
|
EnvironmentFile=-/etc/default/ypbind
|
2020-08-29 07:07:22 +00:00
|
|
|
ExecStartPre=/usr/libexec/ypbind/ypbind-systemd-pre
|
2020-01-29 14:46:54 +00:00
|
|
|
ExecStart=/usr/sbin/ypbind -n $YPBIND_OPTIONS
|
2012-07-14 11:18:59 +00:00
|
|
|
ExecStopPost=/bin/sh -c "/bin/rm -f /var/yp/binding/* /var/run/ypbind.pid"
|
2014-02-21 06:01:22 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2012-07-14 11:18:59 +00:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|