update post installation

pull/135/head
Simon Stürz 2015-12-06 22:54:53 +01:00 committed by Michael Zanetti
parent f545574ea2
commit 18df770d64
1 changed files with 3 additions and 2 deletions

View File

@ -21,10 +21,11 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# restart the guh daemon after update if it's running
service guhd status > /dev/null 2>&1
systemctl daemon-reload
systemctl status guhd > /dev/null 2>&1
if [ $? -eq 0 ]; then
#echo -n "Restart guh daemon..."
service guhd restart
systemctl restart guhd
if [ $? -eq 0 ]; then
echo "Successfully restarted guh daemon."
else