update to support deno 2 correctly

This commit is contained in:
Ean Milligan
2025-07-24 03:01:48 -04:00
parent 774ab87966
commit 02fb3e5443
8 changed files with 21 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ After=network.target
[Service]
Type=simple
PIDFile=/run/deno.pid
ExecStart=/root/.deno/bin/deno run --allow-write=./logs/ --allow-net /var/dbots/logogram-bot/mod.ts
ExecStart=/root/.deno/bin/deno run --allow-write=./logs/ --allow-net --allow-import /var/dbots/logogram-bot/mod.ts
RestartSec=60
Restart=on-failure