forked from Botanical/BotanJS
Rewrite service files for uwsgi & systemctl
This commit is contained in:
13
setup/config
Executable file
13
setup/config
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
[[ $CONFIG ]] && return
|
||||
CONFIG=1
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_DIR="$( realpath "$SCRIPT_DIR" )"
|
||||
PROJ_ROOT="$( cd "$SCRIPT_DIR/../" && pwd )"
|
||||
ENV_ROOT="$PROJ_ROOT/env"
|
||||
BIN_ROOT="$ENV_ROOT/bin"
|
||||
ETC_ROOT="$ENV_ROOT/etc"
|
||||
RUN_ROOT="$ENV_ROOT/run"
|
||||
PYTHON="$BIN_ROOT/python3"
|
Reference in New Issue
Block a user