tee -a au cas où le fichier existe déjà
This commit is contained in:
parent
f76efeae2a
commit
c0f68c02da
|
@ -500,7 +500,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 /etc/systemd/system/munin-node.service.d/override.conf
|
printf '[Service]\nProtectHome=false\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