ypbind/ypbind.service
Honza Horák 345f99166d Fixed rpmlint errors
Fixed systemd unit files packaging
2011-08-02 17:44:35 +02:00

17 lines
531 B
Desktop File

[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