1
0
mirror of https://github.com/Burn-E99/SweeperBot.git synced 2026-06-03 23:43:49 -04:00

fix deletereaction, started setting up service files

This commit is contained in:
Ean Milligan (Bastion)
2022-09-27 11:37:56 -04:00
parent 57d6b45d2e
commit 2a68522abd
5 changed files with 37 additions and 3 deletions

14
sweeper.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=Sweeper Bot Discord Bot
Documentation=https://github.com/Burn-E99/SweeperBot
After=network.target
[Service]
Type=simple
PIDFile=/run/deno.pid
ExecStart=/root/.deno/bin/deno run --allow-write=./logs/ --allow-net .\mod.ts
RestartSec=60
Restart=on-failure
[Install]
WantedBy=multi-user.target