mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Clarify Kolibri's 90 sec timeout on shutdown, resulting from systemd default
This commit is contained in:
		
							parent
							
								
									90efb1a519
								
							
						
					
					
						commit
						f65dd7dc8e
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -10,12 +10,17 @@ Environment=KOLIBRI_HTTP_PORT={{ kolibri_http_port }}
 | 
			
		|||
Environment=KOLIBRI_URL_PATH_PREFIX={{ kolibri_url_without_slash }}
 | 
			
		||||
User={{ kolibri_user }}
 | 
			
		||||
Group={{ apache_user }}
 | 
			
		||||
# 2020-10-03: Kolibri was timing out on RaspiOS & Ubuntu 20 NUC: iiab/iiab#2555
 | 
			
		||||
TimeoutStartSec=1200
 | 
			
		||||
# The following is the systemd default, which is too much for most teachers in
 | 
			
		||||
# low-electricity environments (30-60 sec is about all they can handle before
 | 
			
		||||
# pulling the power cord, typically every hour at the end of class).  But since
 | 
			
		||||
# 90 seconds is the Linux / systemd default, it's prob good enough for now:
 | 
			
		||||
# TimeoutStopSec=90
 | 
			
		||||
# 2020-04-18 @jvonau: comment out both timeouts for now, in favor of 90 seconds
 | 
			
		||||
# or whatever systemd / Kolibri favor? https://github.com/iiab/iiab/issues/2318
 | 
			
		||||
# TimeoutStartSec=infinity
 | 
			
		||||
# TimeoutStopSec=10
 | 
			
		||||
# 2020-10-03: Kolibri was timing out on RaspiOS & Ubuntu 20 NUC: iiab/iiab#2555
 | 
			
		||||
TimeoutStartSec=1200
 | 
			
		||||
ExecStart={{ kolibri_exec_path }} start
 | 
			
		||||
ExecStop={{ kolibri_exec_path }} stop
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue