1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-05 03:57:53 -05:00

Add artificer.service for proper prod running, attempting to add cmdUtils back into sonar

This commit is contained in:
Ean Milligan (Bastion)
2022-07-04 22:39:25 -04:00
parent edac1db702
commit f79091a2a8
2 changed files with 16 additions and 2 deletions

14
artificer.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=The Artificer Discord Bot
Documentation=https://github.com/Burn-E99/TheArtificer
After=network.target
[Service]
Type=simple
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 --allow-net .\mod.ts
RestartSec=60
Restart=on-failure
[Install]
WantedBy=multi-user.target