diff --git a/HowtoMunin.md b/HowtoMunin.md index 489a4302..38ccf924 100644 --- a/HowtoMunin.md +++ b/HowtoMunin.md @@ -500,14 +500,11 @@ Attention, le *plugin* `df` est différent du *plugin* `diskstats`. ~~~{ .bash } mkdir -p /etc/systemd/system/munin-node.service.d -tee /etc/systemd/system/munin-node.service.d/override.conf > /dev/null << 'eof' -[Service] -ProtectHome=false -eof +printf '[Service]\nProtectHome=false\n' | tee /etc/systemd/system/munin-node.service.d/override.conf systemctl daemon-reload systemctl restart munin-node.service ~~~ Puis attendre la prochaine exécution du *cron* ou la lancer soi-même :`sudo -u munin /usr/bin/munin-cron`. -> On peut remplacer les commandes `mkdir` et `tee` par `systemctl edit munin-node.service`. \ No newline at end of file +> On peut remplacer les commandes `mkdir` et `printf | tee` par `systemctl edit munin-node.service`. \ No newline at end of file