More info
This commit is contained in:
@@ -39,7 +39,7 @@ cd /srv/venvs/staticshield
|
||||
python3 -m venv .
|
||||
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
|
||||
|
||||
uv pip install -r requirements.in
|
||||
@@ -53,7 +53,7 @@ Description=staticshield web application
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=divault
|
||||
User=change_me_to_user_the_app_runs_under
|
||||
WorkingDirectory=/srv/staticshield
|
||||
#StandardOutput=file:/srv/logs/staticshield.log
|
||||
Environment=FLASK_SERVE_DIR="/srv/some_static_website/html"
|
||||
|
||||
Reference in New Issue
Block a user