Alex Lourie has uploaded a new change for review. Change subject: packaging: service: update log permissions ......................................................................
packaging: service: update log permissions Change-Id: I23747b45456af0961b7af3a0297f49e92c77cac7 Bug-Url: https://bugzilla.redhat.com/1031992 Signed-off-by: Alex Lourie <alou...@redhat.com> --- M data-warehouse/history_etl/history_service/ovirt-engine-dwhd 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/57/21457/1 diff --git a/data-warehouse/history_etl/history_service/ovirt-engine-dwhd b/data-warehouse/history_etl/history_service/ovirt-engine-dwhd index 40d8d69..774cd91 100644 --- a/data-warehouse/history_etl/history_service/ovirt-engine-dwhd +++ b/data-warehouse/history_etl/history_service/ovirt-engine-dwhd @@ -29,6 +29,7 @@ RETVAL=0 PID_FOLDER=/var/run/ovirt-engine/ LOG_FOLDER=/var/log/ovirt-engine/ +LOG_FILE="${LOG_FOLDER}/ovirt-engine-dwhd.log" OVIRT_USER=ovirt @@ -41,6 +42,10 @@ fi fi +if [ -f ${LOG_FILE} ] ; then + chown "${OVIRT_USER}" "${LOG_FILE}" +fi + # Path to the ovirt-engine-dwhd launch script ETL_SCRIPT=/usr/share/ovirt-engine-dwh/etl/history_service.sh -- To view, visit http://gerrit.ovirt.org/21457 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I23747b45456af0961b7af3a0297f49e92c77cac7 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-dwh Gerrit-Branch: master Gerrit-Owner: Alex Lourie <alou...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches