ypbind/ypbind.service
Honza Horák 1244ad3d90 Minor spec file fixes
Helper scripts moved to /usr/libexec
2012-07-11 16:34:36 +02:00

17 lines
535 B
Desktop File

[Unit]
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
Requires=rpcbind.service
After=syslog.target network.target rpcbind.service ypserv.service
Before=systemd-user-sessions.service
[Service]
EnvironmentFile=-/etc/sysconfig/network
EnvironmentFile=-/etc/sysconfig/ypbind
ExecStartPre=/usr/libexec/ypbind-pre-setdomain
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
ExecStartPost=/usr/libexec/ypbind-post-waitbind
[Install]
WantedBy=multi-user.target