Activating venv for Debian error.

This commit is contained in:
Roland 2024-06-12 16:36:40 -06:00
parent 249aff473c
commit bfee7197cb
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -3,7 +3,8 @@ Description=WROLPi Help Documents
PartOf=wrolpi.target
[Service]
ExecStart=/opt/wrolpi-help/venv/bin/mkdocs serve -a 0.0.0.0:8086
Type=simple
ExecStart=/bin/bash -c 'source /opt/wrolpi-help/venv/bin/activate && exec mkdocs serve -a 0.0.0.0:8086'
Group=wrolpi
User=wrolpi
WorkingDirectory=/opt/wrolpi-help/