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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to