mirror of
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-10-31 06:42:45 +00:00 
			
		
		
		
	should restart on failure on mac
This commit is contained in:
		
							parent
							
								
									54e9977c47
								
							
						
					
					
						commit
						34cee2dbac
					
				| @ -237,7 +237,7 @@ require('fs').readFile(confpath, 'utf8', function (err, text) { | ||||
|           // TODO closeAll other things
 | ||||
|           process.nextTick(function () { | ||||
|             // system daemon will restart the process
 | ||||
|             process.exit(); | ||||
|             process.exit(22); // use non-success exit code
 | ||||
|           }); | ||||
|         }); | ||||
|         return; | ||||
|  | ||||
| @ -32,12 +32,15 @@ | ||||
| 	<key>RunAtLoad</key> | ||||
| 	<true/> | ||||
| 	<key>KeepAlive</key> | ||||
| 	<dict> | ||||
| 	<true/> | ||||
| 	<!--dict> | ||||
| 		<key>Crashed</key> | ||||
| 		<true/> | ||||
| 		<key>SuccessfulExit</key> | ||||
| 		<key>NetworkState</key> | ||||
| 		<true/> | ||||
| 	</dict> | ||||
| 		<key>SuccessfulExit</key> | ||||
| 		<false/> | ||||
| 	</dict--> | ||||
| 
 | ||||
| 	<key>SoftResourceLimits</key> | ||||
| 	<dict> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user