Added update systemctl message

This commit is contained in:
jose.almendros 2020-09-08 11:53:53 +02:00
parent 8eab4ddb79
commit cafd733528
4 changed files with 30 additions and 0 deletions

View File

@ -121,6 +121,14 @@ else
/sbin/chkconfig pandora_agent_daemon on /sbin/chkconfig pandora_agent_daemon on
fi fi
if [ "$1" -gt 1 ]
then
echo "If Pandora Agent daemon was running with init.d script,"
echo "please stop it manually and start the service with systemctl"
fi
%preun %preun

View File

@ -111,7 +111,13 @@ else
chkconfig pandora_agent_daemon on chkconfig pandora_agent_daemon on
fi fi
if [ "$1" -gt 1 ]
then
echo "If Pandora Agent daemon was running with init.d script,"
echo "please stop it manually and start the service with systemctl"
fi
%preun %preun

View File

@ -158,6 +158,14 @@ fi
echo "Don't forget to start Tentacle Server daemon if you want to receive" echo "Don't forget to start Tentacle Server daemon if you want to receive"
echo "data using tentacle" echo "data using tentacle"
if [ "$1" -gt 1 ]
then
echo "If Tentacle Server daemon was running with init.d script,"
echo "please stop it manually and start the service with systemctl"
fi
%preun %preun
# Upgrading # Upgrading

View File

@ -149,6 +149,14 @@ fi
echo "Don't forget to start Tentacle Server daemon if you want to receive" echo "Don't forget to start Tentacle Server daemon if you want to receive"
echo "data using tentacle" echo "data using tentacle"
if [ "$1" -gt 1 ]
then
echo "If Tentacle Server daemon was running with init.d script,"
echo "please stop it manually and start the service with systemctl"
fi
exit 0 exit 0
%preun %preun