Dough Git

commit

fixes

commit
a8ac7d48cad0b61d730eb84ac270e925b3fdca1f
author
Clove <[email protected]>
date
2026-11-25 12:59

diff --git a/deno.json b/deno.json
index f2dc974..9039824 100644
--- a/deno.json
+++ b/deno.json
@@ -4,7 +4,7 @@
     "license": "MIT",
 
     "tasks": {
-        "dev": "deno run --watch --allow-net --allow-env --env-file=.env --allow-read=data --allow-write=data src/main.ts"
+        "start": "deno run --watch --allow-net --allow-env --env-file=.env --allow-read=data,node_modules,../node_modules --allow-write=data src/main.ts"
     },
 
     "minimumDependencyAge": 0,
diff --git a/deploy/log/run b/deploy/log/run
new file mode 100755
index 0000000..6b42e67
--- /dev/null
+++ b/deploy/log/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LOG_DIR=/var/log/inviteTracker
+
+mkdir -p "$LOG_DIR"
+exec svlogd -tt "$LOG_DIR"
\ No newline at end of file
diff --git a/deploy/run b/deploy/run
new file mode 100755
index 0000000..134d460
--- /dev/null
+++ b/deploy/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+exec 2>&1
+
+cd /srv/bot/inviteTracker || exit 1
+
+export HOME = /home/clove
+
+exec chpst -u clove /usr/bin/deno run start
\ No newline at end of file