Regenerate /etc/mpd.conf from the command line


I am using a custom mpd.conf template. I can get Volumio to regenerate /etc/mpd.conf and restart MPD by going to the Web UI PLAYBACK OPTIONS and clicking on the Audio Outputs save button.

Is it possible to do this by running a command on the command line (or a series of commands that I could put in a script)?