DATA_DIR
This commit is contained in:
parent
f96c599f49
commit
128afcfef8
|
|
@ -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}"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user