jamiebegin / metrics2mqtt

Publish cross-platorm system performance metrics to a MQTT broker.
MIT License
63 stars 10 forks source link

Daemonizing failes with several errors (directory does not exit, not permittet) #13

Open SimonBard opened 2 years ago

SimonBard commented 2 years ago

When I follow the instructions to daemonize the script, I get:

sudo touch /var/log/supervisor/metrics2mqtt/{stderr,stdout}.log && chown -R simon /var/log/supervisor/metrics2mqtt
chown: changing ownership of '/var/log/supervisor/metrics2mqtt/stderr.log': Operation not permitted
chown: changing ownership of '/var/log/supervisor/metrics2mqtt/stdout.log': Operation not permitted

I could solve this by following these steps

But there is still in issue with: /etc/supervisord.d/conf.d/metrics2mqtt.ini

This directory does not exist. I only have /etc/supervisor/conf.d Is that just a typo`?