add flag.ts to allow list for worker
This commit is contained in:
		
							parent
							
								
									44d966971a
								
							
						
					
					
						commit
						8f24a3bfae
					
				| 
						 | 
					@ -10,7 +10,7 @@ pidfile="/var/dbots/TheArtificer/artificer.pid"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
artificer_root="/var/dbots/TheArtificer"
 | 
					artificer_root="/var/dbots/TheArtificer"
 | 
				
			||||||
artificer_write="./logs/,./src/endpoints/gets/heatmap.png"
 | 
					artificer_write="./logs/,./src/endpoints/gets/heatmap.png"
 | 
				
			||||||
artificer_read="./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./src/mod.d.ts"
 | 
					artificer_read="./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./flags.ts,./src/mod.d.ts"
 | 
				
			||||||
artificer_log="/var/log/artificer.log"
 | 
					artificer_log="/var/log/artificer.log"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
artificer_chdir="${artificer_root}"
 | 
					artificer_chdir="${artificer_root}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@ After=network.target
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
Type=simple
 | 
					Type=simple
 | 
				
			||||||
PIDFile=/run/deno.pid
 | 
					PIDFile=/run/deno.pid
 | 
				
			||||||
ExecStart=/root/.deno/bin/deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./src/mod.d.ts --allow-net --allow-import .\mod.ts
 | 
					ExecStart=/root/.deno/bin/deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./flags.ts,./src/mod.d.ts --allow-net --allow-import .\mod.ts
 | 
				
			||||||
RestartSec=60
 | 
					RestartSec=60
 | 
				
			||||||
Restart=on-failure
 | 
					Restart=on-failure
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./src/mod.d.ts --allow-net --allow-import mod.ts
 | 
					deno run --allow-write=./logs/,./src/endpoints/gets/heatmap.png --allow-read=./src/solver/,./src/endpoints/gets/heatmap-base.png,./src/endpoints/gets/heatmap.png,./config.ts,./deps.ts,./flags.ts,./src/mod.d.ts --allow-net --allow-import mod.ts
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue