mirror of
				https://gitlab.sectorq.eu/jaydee/omv_backup.git
				synced 2025-10-30 10:01:11 +01:00 
			
		
		
		
	initial
This commit is contained in:
		| @@ -219,6 +219,7 @@ if _RESTORE: | |||||||
|         status, output = subprocess.getstatusoutput(cmnd) |         status, output = subprocess.getstatusoutput(cmnd) | ||||||
|          |          | ||||||
|     if _APP == "nginx": |     if _APP == "nginx": | ||||||
|  |         print("Stopping docker") | ||||||
|         cmnd = "docker stop nginx-app-1" |         cmnd = "docker stop nginx-app-1" | ||||||
|         status, output = subprocess.getstatusoutput(cmnd) |         status, output = subprocess.getstatusoutput(cmnd) | ||||||
|         domains = ["sectorq.eu","gitlab.sectorq.eu","ha.sectorq.eu","mail.sectorq.eu","pw.sectorq.eu","semaphore.sectorq.eu","kestra.sectorq.eu","auth.sectorq.eu"] |         domains = ["sectorq.eu","gitlab.sectorq.eu","ha.sectorq.eu","mail.sectorq.eu","pw.sectorq.eu","semaphore.sectorq.eu","kestra.sectorq.eu","auth.sectorq.eu"] | ||||||
| @@ -241,6 +242,7 @@ if _RESTORE: | |||||||
|             contents = f.write(contents) |             contents = f.write(contents) | ||||||
|             f.close() |             f.close() | ||||||
|         status, output = subprocess.getstatusoutput(cmnd) |         status, output = subprocess.getstatusoutput(cmnd) | ||||||
|  |         print("Starting docker") | ||||||
|         cmnd = "docker start nginx-app-1" |         cmnd = "docker start nginx-app-1" | ||||||
|         status, output = subprocess.getstatusoutput(cmnd) |         status, output = subprocess.getstatusoutput(cmnd) | ||||||
|     now = datetime.datetime.now() |     now = datetime.datetime.now() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee