From 451e8a7d426a0b01efa6d2f11c9a3e78d8d2ede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Wed, 27 Apr 2011 12:07:07 +0200 Subject: [PATCH] Made EnvironmentFile in systemd definition optional (rhbz#632620) --- ypbind.service | 2 +- ypbind.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ypbind.service b/ypbind.service index 9cc0b4c..d57d847 100644 --- a/ypbind.service +++ b/ypbind.service @@ -3,7 +3,7 @@ Description=The ypbind daemon which binds NIS/YP clients to NIS domain After=syslog.target network.target rpcbind.service [Service] -EnvironmentFile=/etc/sysconfig/ypbind +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 diff --git a/ypbind.spec b/ypbind.spec index b981f5e..79e3f57 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -1,7 +1,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Version: 1.32 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2 Group: System Environment/Daemons Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 @@ -108,6 +108,10 @@ fi %doc README NEWS COPYING %changelog +* Wed Apr 28 2011 Honza Horak - 3:1.32-10 +- Made EnvironmentFile in systemd definition optional + (rhbz#632620) + * Wed Apr 14 2011 Honza Horak - 3:1.32-9 - Add native systemd unit file. (rhbz#693873)