More info
This commit is contained in:
@@ -39,7 +39,7 @@ cd /srv/venvs/staticshield
|
|||||||
python3 -m venv .
|
python3 -m venv .
|
||||||
source bin/activate
|
source bin/activate
|
||||||
|
|
||||||
# Optional if you don't have uv installed globally yet (you should ;) )
|
# Optional if you don't have uv installed globally yet (you should ;) - see https://docs.astral.sh/uv/ )
|
||||||
pip install uv
|
pip install uv
|
||||||
|
|
||||||
uv pip install -r requirements.in
|
uv pip install -r requirements.in
|
||||||
@@ -53,7 +53,7 @@ Description=staticshield web application
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=divault
|
User=change_me_to_user_the_app_runs_under
|
||||||
WorkingDirectory=/srv/staticshield
|
WorkingDirectory=/srv/staticshield
|
||||||
#StandardOutput=file:/srv/logs/staticshield.log
|
#StandardOutput=file:/srv/logs/staticshield.log
|
||||||
Environment=FLASK_SERVE_DIR="/srv/some_static_website/html"
|
Environment=FLASK_SERVE_DIR="/srv/some_static_website/html"
|
||||||
|
|||||||
Reference in New Issue
Block a user