mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			472 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			472 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=NetBox WSGI Service
 | 
						|
Documentation=https://docs.netbox.dev/
 | 
						|
After=network-online.target
 | 
						|
Wants=network-online.target
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=simple
 | 
						|
 | 
						|
User=netbox
 | 
						|
Group=netbox
 | 
						|
PIDFile=/var/tmp/netbox.pid
 | 
						|
WorkingDirectory=/opt/netbox
 | 
						|
 | 
						|
ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi
 | 
						|
 | 
						|
Restart=on-failure
 | 
						|
RestartSec=30
 | 
						|
PrivateTmp=true
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |