#!/bin/sh

/usr/share/webapps/icingaweb2/bin/icingacli setup config directory --group icingaweb2;
echo "Please take note of this setup token. This should be pasted into icingaweb2 setup web page: "
/usr/share/webapps/icingaweb2/bin/icingacli setup token create; 
exit 0
