openenergymonitor / emonhub

Python service linking and decoding input to MQTT & Emoncms
88 stars 81 forks source link

Force emonhub log folder to user:root ownership #191

Closed borpin closed 1 year ago

borpin commented 1 year ago

Old permissions are not acceptable to new logrotate package

190

borpin commented 1 year ago

Suggest adding an ExecStartPre entry to force the creation of the log folder with root:root permissions

https://github.com/openenergymonitor/emonhub/blob/ebbaa96e71765f050177b0ccdf2c670b8aa992ca/service/emonhub.service#L15

TrystanLea commented 1 year ago

Do we need a new issue for ExecStartPre?