Updated rpm post install script, #1758

This commit is contained in:
Torkel Ödegaard 2015-04-12 09:49:28 +02:00
parent cc14705404
commit be8a72c35b

View File

@ -55,9 +55,9 @@ if [ $1 -eq 1 ] ; then
echo "### You can start grafana-server by executing"
echo " sudo /bin/systemctl start grafana-server.service"
elif [ -x /usr/sbin/update-rc.d ] ; then
elif [ -x /sbin/chkconfig ] ; then
echo "### NOT starting grafana-server by default on bootup, please execute"
echo " sudo update-rc.d grafana-server defaults 95 10"
echo " sudo /sbin/chkconfig --add grafana-server"
echo "### In order to start grafana-server, execute"
echo " sudo service grafana-server start"
fi