Juan Hernandez has submitted this change and it was merged.
Change subject: packaging: engine-service: downstream infrastructure usage
......................................................................
packaging: engine-service: downstream infrastructure usage
Use features of downstream instead our own implementation.
systemd
1. detach from controlling terminal.
2. Change user/group.
3. stop service using signal.
4. set rlimit.
sysv
1. Change user/group.
2. stop service by pidfile.
3. set rlimit
systemd note:
As jboss return non zero error code when receiving SIGTERM, and systemd
expect processes to terminate with zero error code, we create a wrapper
over the java.
Change-Id: Ie02f0d44bbba7d1a7af6bcf6b808610e85b907c6
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M .gitignore
M Makefile
M backend/manager/conf/engine.conf.defaults.in
M packaging/fedora/engine-service.py.in
D packaging/fedora/engine-service.systemd
A packaging/fedora/engine-service.systemd.in
A packaging/fedora/engine-service.sysv.in
M packaging/fedora/spec/ovirt-engine.spec.in
8 files changed, 141 insertions(+), 60 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/13488
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie02f0d44bbba7d1a7af6bcf6b808610e85b907c6
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>