mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
#2302 change restart info
This commit is contained in:
@@ -613,7 +613,7 @@ This looks not like a valid IP.
|
|||||||
|
|
||||||
# restart certain services to update urls
|
# restart certain services to update urls
|
||||||
if "SPHINX" in serviceName:
|
if "SPHINX" in serviceName:
|
||||||
print("# restarting Sphinx Relay to pickup new public url (please wait) ...")
|
print("# restarting services to pickup new public url (please wait) ...")
|
||||||
os.system("sudo systemctl restart sphinxrelay")
|
os.system("sudo systemctl restart sphinxrelay")
|
||||||
time.sleep(8)
|
time.sleep(8)
|
||||||
|
|
||||||
|
@@ -210,7 +210,7 @@ The following additional information is available:
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
# trigger restart of relevant services so they can pickup new environment
|
# trigger restart of relevant services so they can pickup new environment
|
||||||
print("# restarting Sphinx Relay to pickup new public url (please wait) ...")
|
print("# restarting services to pickup new public url (please wait) ...")
|
||||||
os.system("sudo systemctl restart sphinxrelay 2>/dev/null")
|
os.system("sudo systemctl restart sphinxrelay 2>/dev/null")
|
||||||
time.sleep(8)
|
time.sleep(8)
|
||||||
|
|
||||||
@@ -416,7 +416,7 @@ def main():
|
|||||||
|
|
||||||
# action after possibly new created bride
|
# action after possibly new created bride
|
||||||
if service_name == SERVICE_SPHINX:
|
if service_name == SERVICE_SPHINX:
|
||||||
print("# restarting Sphinx Relay to pickup new public url (please wait) ...")
|
print("# restarting services to pickup new public url (please wait) ...")
|
||||||
os.system("sudo systemctl restart sphinxrelay")
|
os.system("sudo systemctl restart sphinxrelay")
|
||||||
time.sleep(8)
|
time.sleep(8)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user