summaryrefslogtreecommitdiffhomepage
path: root/packaging/[email protected]
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/[email protected]')
-rw-r--r--packaging/[email protected]21
1 files changed, 0 insertions, 21 deletions
diff --git a/packaging/[email protected] b/packaging/[email protected]
deleted file mode 100644
index e1946dd..0000000
--- a/packaging/[email protected]
+++ /dev/null
@@ -1,21 +0,0 @@
-[Unit]
-Description=Dispatch API server (user %i)
-After=network.target local-fs.target home.mount
-# The API stores its SQLite DB and reads Claude credentials under the user's
-# home (~/.local/share/dispatch). If /home is a separate filesystem, starting
-# before it is mounted makes credential discovery fail (EACCES) and Claude
-# tabs fall back to an empty API key (401). Ensure /home is mounted first.
-RequiresMountsFor=/home
-
-[Service]
-Type=simple
-User=%i
-Environment=NODE_ENV=production
-Environment=PORT=18390
-WorkingDirectory=/opt/dispatch
-ExecStart=/usr/bin/bun packages/api/src/index.ts
-Restart=on-failure
-RestartSec=5
-
-[Install]
-WantedBy=multi-user.target