Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: services: systemd: convert deamons into notify type
......................................................................

packaging: services: systemd: convert deamons into notify type

notify supports validation pre-start.

Change-Id: Ic806da35ecb2ca5d40e03e0981840272173978d2
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M packaging/services/ovirt-engine-dwhd/ovirt-engine-dwhd.systemd.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/75/23075/1

diff --git a/packaging/services/ovirt-engine-dwhd/ovirt-engine-dwhd.systemd.in 
b/packaging/services/ovirt-engine-dwhd/ovirt-engine-dwhd.systemd.in
index fd7212f..9008c4f 100644
--- a/packaging/services/ovirt-engine-dwhd/ovirt-engine-dwhd.systemd.in
+++ b/packaging/services/ovirt-engine-dwhd/ovirt-engine-dwhd.systemd.in
@@ -3,10 +3,10 @@
 After=network.service postgresql.service
 
 [Service]
-Type=simple
+Type=notify
 User=@PKG_USER@
 Group=@PKG_GROUP@
-ExecStart=@PKG_DATA_DIR@/services/ovirt-engine-dwhd/ovirt-engine-dwhd.py 
--redirect-output $EXTRA_ARGS start
+ExecStart=@PKG_DATA_DIR@/services/ovirt-engine-dwhd/ovirt-engine-dwhd.py 
--redirect-output --systemd=notify $EXTRA_ARGS start
 EnvironmentFile=-/etc/sysconfig/ovirt-engine-dwhd
 Restart=on-failure
 RestartSec=3600


-- 
To view, visit http://gerrit.ovirt.org/23075
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic806da35ecb2ca5d40e03e0981840272173978d2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to