修复错误的用户权限

This commit is contained in:
CN-JS-HuiBai
2026-01-25 14:36:36 +08:00
parent 0406b0d630
commit 4e0d399044

View File

@@ -82,8 +82,8 @@ After=network-online.target
[Service] [Service]
Type=simple Type=simple
User=mysqld_exporter User=root
Group=mysqld_exporter Group=root
ExecStart=/usr/bin/mysqld_exporter \ ExecStart=/usr/bin/mysqld_exporter \
--config.my-cnf=/etc/mysqld_exporter/my.cnf \ --config.my-cnf=/etc/mysqld_exporter/my.cnf \
--web.listen-address=0.0.0.0:9104 --web.listen-address=0.0.0.0:9104