So scratch my earlier workaround or patching. After reading what
/etc/init/gnocchi-api.conf is doing around lines 31 to 36 I found I can
modify startup behavior by creating `/etc/defaults/gnocchi-api` and
adding the following contents

DAEMON_ARGS="--port 8041 -- --log-file=/var/log/gnocchi/gnocchi-api.log"

It seems the extra "--" is not being passed to the start-stop-daemon

Now my only problem is that API requests are still showing up in
`/var/log/syslog` even though this is not what I see in the arguments
reported by systemctl status

   CGroup: /system.slice/gnocchi-api.service
           └─110578 /usr/bin/python2.7 /usr/bin/gnocchi-api --port 8041 -- 

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Broken systemd unit for gnocchi-api

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to