]> review.fuel-infra Code Review - openstack-build/ceilometer-build.git/blobdiff - xenial/debian/ceilometer-agent-compute.init
Removed applied upstream patch: modify-limitation-on-request-version.patch
[openstack-build/ceilometer-build.git] / xenial / debian / ceilometer-agent-compute.init
index 1429ed4b6dcc900f8f2c91e834d78d5f52bf930c..d88f4d4611e5dfed4af3e51587517a24c03ce8f3 100644 (file)
@@ -16,8 +16,6 @@ DESC="Ceilometer Agent Compute"
 SYS_NAME=ceilometer
 NAME=ceilometer-agent-compute
 DAEMON=/usr/bin/ceilometer-agent-compute
-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/${SYS_NAME}/ceilometer.conf --log-file=$LOGFILE"
 
 [ -x $DAEMON ] || exit 0