suppress PANGO warning when running munin during setup

This commit is contained in:
Joshua Tauberer 2015-08-23 12:42:39 -04:00
parent 841181ed55
commit 6c71abbb09
1 changed files with 3 additions and 1 deletions

View File

@ -56,4 +56,6 @@ restart_service munin
restart_service munin-node
# generate initial statistics so the directory isn't empty
sudo -u munin munin-cron
# (We get "Pango-WARNING **: error opening config file '/root/.config/pango/pangorc': Permission denied"
# if we don't explicitly set the HOME directory when sudo'ing.)
sudo -H -u munin munin-cron