X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Fceilometer-agent-central.init;h=1448d5034ee1923a16df6bb564e5cc7bb144ac82;hb=22ac98e6b61bd840b958f8f54d4a5ec1340f2c12;hp=fa2fff134d3b8c49cff027d6e773f15d38517fb8;hpb=534d7372275ddc96939cc0abe96ab8eda4767ef3;p=openstack-build%2Fceilometer-build.git diff --git a/trusty/debian/ceilometer-agent-central.init b/trusty/debian/ceilometer-agent-central.init index fa2fff1..1448d50 100644 --- a/trusty/debian/ceilometer-agent-central.init +++ b/trusty/debian/ceilometer-agent-central.init @@ -16,8 +16,6 @@ DESC="Ceilometer Agent Central" SYS_NAME=ceilometer NAME=ceilometer-agent-central DAEMON=/usr/bin/ceilometer-agent-central -DAEMON_ARGS="--config-file /etc/nova/nova.conf" -[ -f '/etc/nova/nova-compute.conf' ] && DAEMON_ARGS=${DAEMON_ARGS}" --config-file=/etc/nova/nova-compute.conf" SCRIPTNAME=/etc/init.d/${NAME} DAEMON_USER=${SYS_NAME} @@ -25,6 +23,8 @@ DAEMON_GROUP=${SYS_NAME} LOCK_DIR=/var/lock/${SYS_NAME} PID_DIR=/var/run/${SYS_NAME} PID_FILE=${PID_DIR}/${NAME}.pid +LOGFILE=/var/log/${SYS_NAME}/${NAME}.log +DAEMON_ARGS="--config-file=/etc/${SYSNAME}/ceilometer.conf --log-file=$LOGFILE" [ -x $DAEMON ] || exit 0