## **************************************************************************
## For copyright and licensing terms, see the file named COPYING.
## **************************************************************************

[Unit]
Description=Yellow Pages map transfer daemon
Wants=rpcbind.service ypserv.service nis_client.service
After=nisdomain.service
Conflicts=ypxfrd.service

[Service]
Type=forking
# The import procedure is expected to have populated this directory with flags.
EnvironmentDirectory=env
ExecStartPre=sh -c 'test -z "`domainname`" && echo "WARNING: NIS domainname is not set."'
ExecStart=%p ${flags}

[Install]
WantedBy=server.target
