mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 00:42:55 +00:00 
			
		
		
		
	Make supervisor uncontrollable for now
Enabling to stop and start services on a container the user will possibly gain shell access isn't the best idea.
This commit is contained in:
		@@ -4,15 +4,6 @@ logfile = /tmp/supervisord.log
 | 
			
		||||
loglevel = DEBUG
 | 
			
		||||
pidfile = /tmp/supervisord.pid
 | 
			
		||||
 | 
			
		||||
[unix_http_server]
 | 
			
		||||
file=/tmp/supervisor.sock
 | 
			
		||||
 | 
			
		||||
[rpcinterface:supervisor]
 | 
			
		||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
 | 
			
		||||
 | 
			
		||||
[supervisorctl]
 | 
			
		||||
serverurl=unix:///tmp/supervisor.sock
 | 
			
		||||
 | 
			
		||||
[program:app]
 | 
			
		||||
directory=%(ENV_TFW_APP_DIR)s
 | 
			
		||||
command=env python app.py
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user