/home en read-only est suffisant ...
This commit is contained in:
parent
33d34f18c7
commit
ddc250dd93
|
@ -571,7 +571,7 @@ Attention, le *plugin* `df` est différent du *plugin* `diskstats`.
|
||||||
|
|
||||||
~~~{ .bash }
|
~~~{ .bash }
|
||||||
mkdir -p /etc/systemd/system/munin-node.service.d
|
mkdir -p /etc/systemd/system/munin-node.service.d
|
||||||
printf '[Service]\nProtectHome=false\n' | tee -a /etc/systemd/system/munin-node.service.d/override.conf
|
printf '[Service]\nProtectHome=read-only\n' | tee -a /etc/systemd/system/munin-node.service.d/override.conf
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart munin-node.service
|
systemctl restart munin-node.service
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue