forked from pool/apache2
Accepting request 197316 from Apache
- Also fix subtle non-obvious systemd unit confusion we really mean -DFOREGROUND not -DNO_DETACH the latter only inhibits the parent from forking, not quite the same as running in well.. the foreground as required. (forwarded request 197315 from elvigia) OBS-URL: https://build.opensuse.org/request/show/197316 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=73
This commit is contained in:
commit
501f418667
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 15:37:37 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
- Also fix subtle non-obvious systemd unit confusion
|
||||
we really mean -DFOREGROUND not -DNO_DETACH the latter only
|
||||
inhibits the parent from forking, not quite the same as
|
||||
running in well.. the foreground as required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 03:58:27 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
- Ensure we only use /run and not /var/run
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 04:48:07 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -8,9 +8,9 @@ Before=getty@tty1.service
|
||||
Type=notify
|
||||
PrivateTmp=true
|
||||
EnvironmentFile=/etc/sysconfig/apache2
|
||||
ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start
|
||||
ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -t -k graceful
|
||||
ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop
|
||||
ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start
|
||||
ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -t -k graceful
|
||||
ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -69,7 +69,11 @@ BuildRequires: expat-devel
|
||||
%define localstatedir /var/lib/%{pname}
|
||||
%define proxycachedir /var/cache/%{pname}
|
||||
%define logfiledir /var/log/%{pname}
|
||||
%if %suse_version > 1220
|
||||
%define runtimedir /run
|
||||
%else
|
||||
%define runtimedir /var/run
|
||||
%endif
|
||||
%define sysconfdir /etc/%{pname}
|
||||
%define includedir %{_includedir}/%{pname}
|
||||
%define libexecdir %_libdir/%{pname}
|
||||
@ -500,10 +504,10 @@ for mpm in %{mpms_to_build}; do
|
||||
configure
|
||||
sed "s/%{vers}-$mpm//" include/ap_config_auto.h > include/ap_config_auto.h.new
|
||||
mv include/ap_config_auto.h.new include/ap_config_auto.h
|
||||
sed -i -e "s@/var/run@%{runtimedir}@g" include/ap_config_layout.h
|
||||
|
||||
make CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -fPIC \
|
||||
-Wall \
|
||||
-DDEFAULT_PIDLOG='\"%{runtimedir}/%{httpd}.pid\"' \
|
||||
-DDEFAULT_ERRORLOG='\"%{logfiledir}/error_log\"' " \
|
||||
%{?jobs:-j%jobs}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user