Change in ovirt-engine[master]: packaging: engine-service: downstream infrastructure usage

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Apr 4 07:20:09 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list