Skip to content

Commit

Permalink
bareos.spec: www_daemon_user and www_daemon_group added
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jul 16, 2020
1 parent 89e2b25 commit 902372c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions core/platforms/packaging/bareos.spec
Expand Up @@ -712,8 +712,7 @@ Requires: php-iconv
Requires: php-intl
Requires: php-json

%if 0%{?suse_version}
%else
%if !0%{?suse_version}
Requires: php-libxml
%endif

Expand All @@ -734,28 +733,24 @@ BuildRequires: apache2
# /usr/sbin/apxs2
BuildRequires: apache2-devel
BuildRequires: mod_php_any
#define _apache_conf_dir #(/usr/sbin/apxs2 -q SYSCONFDIR)
%define _apache_conf_dir /etc/apache2/conf.d/
%define daemon_user wwwrun
%define daemon_group www
%define www_daemon_user wwwrun
%define www_daemon_group www
Requires: apache
Recommends: mod_php_any
%else
#if 0#{?fedora} || 0#{?rhel_version} || 0#{?centos_version}
BuildRequires: httpd
# apxs2
BuildRequires: httpd-devel
%define _apache_conf_dir /etc/httpd/conf.d/
%define daemon_user apache
%define daemon_group apache
%define www_daemon_user apache
%define www_daemon_group apache
Requires: httpd
Requires: mod_php
%endif





%description webui
Bareos - Backup Archiving Recovery Open Sourced. \
Bareos is a set of computer programs that permit you (or the system \
Expand Down

0 comments on commit 902372c

Please sign in to comment.