mirror of
				https://github.com/netinvent/npbackup.git
				synced 2025-10-31 15:56:23 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			466 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			466 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| Description=NPBackup upgrade server gunicorn service
 | |
| After=network.target
 | |
| 
 | |
| [Service]
 | |
| #User=npbackup
 | |
| #Group=npbackup
 | |
| 
 | |
| # Set this to whatever directory you installed the upgrade_server to
 | |
| ExecStart=/usr/bin/python3 /var/www/upgrade_server/upgrade_server.py --config-file=/etc/npbackup/upgrade_server.conf
 | |
| WorkingDirectory=/var/www/upgrade_server
 | |
| Environment="PYTHONPATH=/var/www/upgrade_server"
 | |
| Restart=always
 | |
| RestartSec=60
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target |