mirror of
				https://github.com/vvzvlad/vestasync.git
				synced 2025-11-03 23:07:53 +03:00 
			
		
		
		
	add reboot
This commit is contained in:
		@ -126,6 +126,8 @@ def create_autogit_systemd(c):
 | 
				
			|||||||
    c.run("systemctl enable pushgit_inotify.service")
 | 
					    c.run("systemctl enable pushgit_inotify.service")
 | 
				
			||||||
    c.run("systemctl start pushgit_inotify.service")
 | 
					    c.run("systemctl start pushgit_inotify.service")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					def reboot(c):
 | 
				
			||||||
 | 
					    c.run("reboot > /dev/null 2>&1 || true")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def git_clone(c):
 | 
					def git_clone(c):
 | 
				
			||||||
    c.run(f'mkdir /mnt/data/{args.source_hostname}_etc ', hide=True)
 | 
					    c.run(f'mkdir /mnt/data/{args.source_hostname}_etc ', hide=True)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user