Update grafana-install.sh

This commit is contained in:
tteckster 2022-03-02 23:19:00 -05:00 committed by GitHub
parent a046345b8a
commit 2aea5bba27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ ExecStart=
ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,38400,9600 \$TERM
EOF
systemctl daemon-reload
systemctl start grafana-server
systemctl enable grafana-server.service &>/dev/null
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
echo -e "${CM}${CL} \r"