fixed systemd unit files requires and description

This commit is contained in:
Honza Horák 2011-08-03 11:17:47 +02:00
parent b345b1fe8e
commit f234e015e5
4 changed files with 11 additions and 5 deletions

View File

@ -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]

View File

@ -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

View File

@ -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 <hhorak@redhat.com> - 2.26-2
- fixed systemd unit files requires and description
* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 2.26-1
- Update to new upstream version
Simplified systemd snippets in spec file

View File

@ -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]