mirror of https://github.com/nymea/nymea.git
update post installation
parent
f545574ea2
commit
18df770d64
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue