1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-01-06 03:17:55 -05:00

Add Linux Service file

This commit is contained in:
Ean Milligan (Bastion)
2022-02-01 01:56:43 -05:00
parent a87d43374c
commit c12aa8cd4c

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