ypbind/ypbind.service
Honza Horák 9bfa494533 Add native systemd unit file.
(rhbz#693873)
2011-04-14 15:26:32 +02:00

13 lines
440 B
Desktop File

[Unit]
Description=The ypbind daemon which binds NIS/YP clients to NIS domain
After=syslog.target network.target rpcbind.service
[Service]
EnvironmentFile=/etc/sysconfig/ypbind
ExecStartPre=/usr/lib/ypbind/ypbind-pre-setdomain ; /usr/sbin/setsebool allow_ypbind=1
ExecStart=/usr/sbin/ypbind -f $OTHER_YPBIND_OPTS
ExecStopPost=/usr/sbin/setsebool allow_ypbind=0 ; /usr/lib/ypbind/ypbind-post-waitbind
[Install]
WantedBy=multi-user.target