add service + update file
This commit is contained in:
		
							
								
								
									
										16
									
								
								rot.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								rot.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | |||||||
|  | [Unit] | ||||||
|  | Description=Rot | ||||||
|  |  | ||||||
|  | [Service] | ||||||
|  | User=root | ||||||
|  | Group=root | ||||||
|  | WorkingDirectory=/home/k004373/rot | ||||||
|  | Environment="ROCKET_ENV=prod" | ||||||
|  | Environment="ROCKET_ADDRESS=127.0.0.1" | ||||||
|  | Environment="ROCKET_PORT=8001" | ||||||
|  | Environment="ROCKET_LOG=info" | ||||||
|  | ExecStart=/home/k004373/rot/target/release/rot | ||||||
|  |  | ||||||
|  | [Install] | ||||||
|  | WantedBy=multi-user.target | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user
	 Philipp
					Philipp