mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Set restart and reload as stop/stop on proxy scripts
This commit is contained in:
		
							parent
							
								
									6da3a4768a
								
							
						
					
					
						commit
						17c84979e2
					
				
					 5 changed files with 46 additions and 0 deletions
				
			
		|  | @ -2360,6 +2360,17 @@ stop_service() { | |||
| 	test -d "$CONFIG_FOLDER" && rm -rf "$CONFIG_FOLDER" | ||||
| } | ||||
| 
 | ||||
| restart_service() { | ||||
| 	stop | ||||
| 	start | ||||
| } | ||||
| 
 | ||||
| reload_service() { | ||||
| 	stop | ||||
| 	start | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| service_triggers() { | ||||
| 	procd_add_reload_trigger "$NAME" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue