Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Use standard SystemV status codes
......................................................................

packaging: Use standard SystemV status codes

This patch changes the start/stop script so that the "status"
action returns the standard SystemV exit codes:

0: program is running or service is OK
1: program is dead and /var/run pid file exists
2: program is dead and /var/lock lock file exists
3: program is not running
4: program or service status is unknown
5-99: reserved for future LSB use
100-149: reserved for distribution use
150-199: reserved for application use
200-254: reserved

Note that the script uses only 0, 1, 3 and 4, as the others are
not applicable at the moment.

Change-Id: I124107a00dc3e0c7d922a7e34840bb2f069028d2
Signed-off-by: Juan Hernandez <[email protected]>
---
M packaging/fedora/engine-service.py
1 file changed, 45 insertions(+), 30 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/6571/1
--
To view, visit http://gerrit.ovirt.org/6571
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I124107a00dc3e0c7d922a7e34840bb2f069028d2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to