mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-09-18 12:44:37 +00:00
services: prometheus: Fix directory permission.
* modules/rosenthal/services/monitoring.scm (prometheus-activation): Fix permission for /var/lib/prometheus, which is also used by prometheus-node-exporter.
This commit is contained in:
parent
3707e89521
commit
05613c1085
@ -151,7 +151,8 @@
|
|||||||
(directory "/var/lib/grafana"))
|
(directory "/var/lib/grafana"))
|
||||||
(unless (file-exists? directory)
|
(unless (file-exists? directory)
|
||||||
(mkdir-p directory)
|
(mkdir-p directory)
|
||||||
(chown directory (passwd:uid user) (passwd:gid user)))))))
|
(chown directory (passwd:uid user) (passwd:gid user))
|
||||||
|
(chmod directory #o775))))))
|
||||||
|
|
||||||
(define prometheus-shepherd
|
(define prometheus-shepherd
|
||||||
(match-record-lambda <prometheus-configuration>
|
(match-record-lambda <prometheus-configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user