Merge pull request #11244 from AdrienAdB/patch-1
Update template.service
This commit is contained in:
		
						commit
						d887bda137
					
				@ -7,5 +7,9 @@ User=${pkg.user}
 | 
			
		||||
ExecStart=${pkg.installFolder}/bin/${pkg.name}.jar
 | 
			
		||||
SuccessExitStatus=143
 | 
			
		||||
 | 
			
		||||
# Service shall be restarted in 30 seconds when the service process exits, is killed, or a timeout is reached.
 | 
			
		||||
Restart=always # default 'no'
 | 
			
		||||
RestartSec=30
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user