forked from Spark/ssm-services
		
	Merge branch 'master' of builder:git/watchman-services
This commit is contained in:
		
							
								
								
									
										10
									
								
								init.d/znet
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								init.d/znet
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | #!/usr/bin/env watchman | ||||||
|  |  | ||||||
|  | service_type='oneshot' | ||||||
|  | service_command='/usr/local/sbin/znet' | ||||||
|  | service_args='-d' | ||||||
|  |  | ||||||
|  | stop() { | ||||||
|  | 	"$service_command" $service_args down | ||||||
|  | 	watchman.stop | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user