diff options
| author | user <user@node5.net> | 2025-02-08 21:53:02 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2025-02-08 21:53:02 +0100 |
| commit | 32ead71f3a69145dc09df9eb09ca0a6b0191749a (patch) | |
| tree | 4a18f0c54c76fc8599009dcb57c7362417c35b3e /blog.node5.net.service | |
| parent | 14de1a23248086371671fa45f4057fcd5bdd3205 (diff) | |
Fix log lvls, default to debug 4 cli usage
Disable debug in production using environment variable in SystemD service
Diffstat (limited to 'blog.node5.net.service')
| -rw-r--r-- | blog.node5.net.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/blog.node5.net.service b/blog.node5.net.service index 24298bf..93764fe 100644 --- a/blog.node5.net.service +++ b/blog.node5.net.service @@ -7,8 +7,9 @@ User=blog Group=www-data WorkingDirectory=/opt/blog.node5.net_flask Environment="PATH=/opt/blog.node5.net_flask/venv/bin" +Environment="PROD=1" ExecStart=/opt/blog.node5.net_flask/venv/bin/uwsgi --ini uwsgi.ini ExecReload=/usr/bin/kill -1 $MAINPID [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target |
