mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -05:00
Enabling Python optimization when running in Docker and systemd.
This commit is contained in:
parent
e471325bb6
commit
ccb28db95c
3 changed files with 6 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ PartOf=wrolpi.target
|
|||
|
||||
[Service]
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/opt/wrolpi/venv/bin/python3 /opt/wrolpi/main.py -v api
|
||||
ExecStart=/opt/wrolpi/venv/bin/python3 -OO /opt/wrolpi/main.py -v api
|
||||
Group=wrolpi
|
||||
User=wrolpi
|
||||
WorkingDirectory=/opt/wrolpi/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue