Add Linux Service file

This commit is contained in:
Ean Milligan (Bastion) 2022-02-01 01:56:43 -05:00
parent a87d43374c
commit c12aa8cd4c
1 changed files with 14 additions and 0 deletions

14
groupup.service Normal file
View File

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