prometheus/exporters: fix regression in DynamicUser behavior
Instead of setting User/Group only when DynamicUser is disabled, the previous version of the code set it only when it was enabled. This caused services with DynamicUser enabled to actually run as nobody, and services without DynamicUser enabled to run as root. Regression from fbb7e0c8.
parent
199b4c47
Please register or sign in to comment