Skip to content

Instantly share code, notes, and snippets.

@viegelinsch
Created February 20, 2015 16:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viegelinsch/5bd149a63e9a4ebb2373 to your computer and use it in GitHub Desktop.
Save viegelinsch/5bd149a63e9a4ebb2373 to your computer and use it in GitHub Desktop.
run munin-update manually as root
!#/bin/bash
su - munin --shell=/bin/bash
/usr/share/munin/munin-update
exit
@frdmn
Copy link

frdmn commented Jun 15, 2016

One liner:

su - munin --shell=/bin/bash -c /usr/share/munin/munin-update

For debug mode:

su - munin --shell=/bin/bash -c "/usr/share/munin/munin-update -debug"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment