2011-04-14 13:26:32 +00:00
|
|
|
[Unit]
|
|
|
|
Description=The ypbind daemon which binds NIS/YP clients to NIS domain
|
2011-08-02 15:44:35 +00:00
|
|
|
Requires=rpcbind.service
|
2011-04-14 13:26:32 +00:00
|
|
|
After=syslog.target network.target rpcbind.service
|
|
|
|
|
|
|
|
[Service]
|
2011-05-10 13:44:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/network
|
2011-04-27 10:07:07 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/ypbind
|
2011-06-07 08:41:19 +00:00
|
|
|
ExecStartPre=-/usr/lib/ypbind/ypbind-pre-setdomain
|
|
|
|
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
|
2011-06-13 11:05:54 +00:00
|
|
|
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
|
2011-08-02 15:44:35 +00:00
|
|
|
ExecStopPost=-/usr/sbin/setsebool allow_ypbind=0
|
|
|
|
ExecStopPost=/usr/lib/ypbind/ypbind-post-waitbind
|
2011-04-14 13:26:32 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|