summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-12-20 15:34:43 -0500
committerJakub Hrozek <jhrozek@redhat.com>2014-02-19 12:28:33 +0100
commitb96988a35bfb5f6faf2e364ae966166398afeca3 (patch)
tree974885c1bdd5404b31d958bbfba3a59ea9c784ff /contrib/sssd.spec.in
parent60df591b865831a71e93eb57f4c353c4555b66cf (diff)
downloadsssd-b96988a35bfb5f6faf2e364ae966166398afeca3.tar.gz
sssd-b96988a35bfb5f6faf2e364ae966166398afeca3.tar.xz
sssd-b96988a35bfb5f6faf2e364ae966166398afeca3.zip
BUILD: Build with journald support by default on Fedora
The journal provided by systemd gives us structured logging capabilities that we should be taking advantage of. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6bc2aa2a4..ec75b53a4 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -24,6 +24,7 @@
%if (0%{?use_systemd} == 1)
%global with_initscript --with-initscript=systemd --with-systemdunitdir=%{_unitdir}
+ %global with_syslog --with-syslog=journald
%else
%global with_initscript --with-initscript=sysv
%endif
@@ -421,6 +422,7 @@ autoreconf -ivf
--disable-rpath \
%{?with_ccache} \
%{with_initscript} \
+ %{?with_syslog} \
%{?with_cifs_utils_plugin_option} \
%{?experimental}