Added these tasks: * emerge_sync * layman_sync * emerge_regen * eix_update Signed-off-by: volpino <fox91@anche.no>
		
			
				
	
	
		
			19 lines
		
	
	
		
			391 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			391 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/python
 | |
| 
 | |
| import sys
 | |
| import os
 | |
| import os.path
 | |
| 
 | |
| PROJECT = '/path/to/euscanwww'
 | |
| 
 | |
| sys.path.insert(0, os.path.dirname(PROJECT))
 | |
| sys.path.insert(0, PROJECT)
 | |
| 
 | |
| os.chdir(PROJECT)
 | |
| 
 | |
| os.environ['DJANGO_SETTINGS_MODULE'] = "euscanwww.settings"
 | |
| os.environ['HOME'] = "/path/to/home"
 | |
| 
 | |
| from django.core.servers.fastcgi import runfastcgi
 | |
| runfastcgi(method="threaded", daemonize="false", maxspare=1)
 |