TheArtificer/artificer.service

15 lines
450 B
Desktop File

[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,./config.ts,./deps.ts,./src/mod.d.ts --allow-net .\mod.ts
RestartSec=60
Restart=on-failure
[Install]
WantedBy=multi-user.target