Added error message in case chkconfig fails

This commit is contained in:
Kevin 2020-11-18 16:22:40 +01:00
parent 1d0510f92e
commit 6b708339f1
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ then
systemctl enable pandora_agent_daemon.service
else
chkconfig pandora_agent_daemon on
if [ "$?" -gt 0 ]
then
echo "There was a problem configuring pandora_agent_daemon service to run on boot. Please enable it manually."
fi
fi
if [ "$1" -gt 1 ]