tee -a au cas où le fichier existe déjà

This commit is contained in:
abenmiloud 2021-10-20 16:32:09 +02:00
parent f76efeae2a
commit c0f68c02da

View file

@ -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
~~~ ~~~