This commit is contained in:
Chris Wanstrath 2026-02-09 16:50:13 -08:00
parent f96c599f49
commit 128afcfef8
3 changed files with 4 additions and 1 deletions

View File

@ -5,4 +5,5 @@
HOST="${HOST:-toes@toes.local}"
URL="${URL:-http://toes.local}"
DEST="${DEST:-~/toes}"
DATA_DIR="${DATA_DIR:-~/data}"
APPS_DIR="${APPS_DIR:-~/apps}"

View File

@ -53,7 +53,8 @@ echo ">> Setting CAP_NET_BIND_SERVICE on $BUN_REAL"
quiet sudo setcap 'cap_net_bind_service=+ep' "$BUN_REAL"
quiet /usr/sbin/getcap "$BUN_REAL" || true
echo ">> Creating apps directory"
echo ">> Creating data and apps directories"
mkdir -p ~/data
mkdir -p ~/apps
echo ">> Installing bundled apps"

View File

@ -8,6 +8,7 @@ User=toes
WorkingDirectory=/home/toes/toes/
Environment=PORT=80
Environment=NODE_ENV=production
Environment=DATA_DIR=/home/toes/data
Environment=APPS_DIR=/home/toes/apps/
ExecStart=/home/toes/.bun/bin/bun start
Restart=always