diff --git a/yppasswdd.service b/yppasswdd.service index 4a34a7e..ec92f54 100644 --- a/yppasswdd.service +++ b/yppasswdd.service @@ -1,5 +1,6 @@ [Unit] -Description=The yppasswdd daemon which lets users change their passwords in the presence of NIS (a.k.a. YP) +Description=NIS/YP (Network Information Service) Users Passwords Change Server +Requires=rpcbind.service After=syslog.target network.target rpcbind.service [Service] diff --git a/ypserv.service b/ypserv.service index 6dec89e..0868394 100644 --- a/ypserv.service +++ b/ypserv.service @@ -1,6 +1,7 @@ [Unit] -Description=The NIS (Network Information Service) server -After=syslog.target network.target rpcbind.service +Description=NIS/YP (Network Information Service) Server +Requires=rpcbind.service +After=syslog.target network.target rpcbind.service [Service] EnvironmentFile=-/etc/sysconfig/network diff --git a/ypserv.spec b/ypserv.spec index a7185ec..95e214e 100644 --- a/ypserv.spec +++ b/ypserv.spec @@ -2,7 +2,7 @@ Summary: The NIS (Network Information Service) server Url: http://www.linux-nis.org/nis/ypserv/index.html Name: ypserv Version: 2.26 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: System Environment/Daemons Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2 @@ -150,6 +150,9 @@ exit 0 %{_includedir}/*/* %changelog +* Wed Aug 03 2011 Honza Horak - 2.26-2 +- fixed systemd unit files requires and description + * Tue Aug 02 2011 Honza Horak - 2.26-1 - Update to new upstream version Simplified systemd snippets in spec file diff --git a/ypxfrd.service b/ypxfrd.service index be0cdc0..02bbd9d 100644 --- a/ypxfrd.service +++ b/ypxfrd.service @@ -1,5 +1,6 @@ [Unit] -Description=The ypxfrd daemon which accelerates transferring yp maps by ypserv +Description=NIS/YP (Network Information Service) Maps Transferring Accelerator +Requires=rpcbind.service After=syslog.target network.target rpcbind.service [Service]