Commit d4339ae9 by Torkel Ödegaard

Updated packaging post install

parent bdc4d140
...@@ -49,7 +49,7 @@ if [ $1 -eq 1 ] ; then ...@@ -49,7 +49,7 @@ if [ $1 -eq 1 ] ; then
find /etc/grafana -type d -exec chmod 755 {} ';' find /etc/grafana -type d -exec chmod 755 {} ';'
if [ -x /bin/systemctl ] ; then if [ -x /bin/systemctl ] ; then
echo "### NOT starting on installation, please execute the following statements to configure elasticsearch to start automatically using systemd" echo "### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd"
echo " sudo /bin/systemctl daemon-reload" echo " sudo /bin/systemctl daemon-reload"
echo " sudo /bin/systemctl enable grafana-server.service" echo " sudo /bin/systemctl enable grafana-server.service"
echo "### You can start grafana-server by executing" echo "### You can start grafana-server by executing"
...@@ -60,7 +60,6 @@ if [ $1 -eq 1 ] ; then ...@@ -60,7 +60,6 @@ if [ $1 -eq 1 ] ; then
echo "### In order to start grafana-server, execute" echo "### In order to start grafana-server, execute"
echo " sudo service grafana-server start" echo " sudo service grafana-server start"
fi fi
elif [ $1 -ge 2 ] ; then elif [ $1 -ge 2 ] ; then
if [ -x /opt/grafana/ ]; then if [ -x /opt/grafana/ ]; then
echo "### Upgrading Notice ### " echo "### Upgrading Notice ### "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment