SHA256
1
0
forked from pool/haproxy

Accepting request 235069 from network:ha-clustering:Factory

- added necessary macros for systemd files (forwarded request 234964 from jsegitz)

OBS-URL: https://build.opensuse.org/request/show/235069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/haproxy?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-05-23 05:27:51 +00:00 committed by Git OBS Bridge
parent 0b429848d7
commit d02a0c91a8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 21 10:50:21 UTC 2014 - jsegitz@novell.com
- added necessary macros for systemd files
-------------------------------------------------------------------
Tue May 6 06:12:08 UTC 2014 - kgronlund@suse.com

View File

@ -144,6 +144,9 @@ gzip %{buildroot}%{_mandir}/man1/%{pkg_name}.1
%pre
/usr/sbin/groupadd -r %{pkg_name} &>/dev/null ||:
/usr/sbin/useradd -g %{pkg_name} -s /bin/false -r -c "user for %{pkg_name}" -d %{pkg_home} %{pkg_name} &>/dev/null ||:
%if 0%{?suse_version} >= 1230
%service_add_pre %{pkg_name}.service
%endif
%if 0%{?suse_version} >= 1230