1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-06-30 22:50:14 +02:00

Merge pull request #113 from donaldzou/marneu-main

Marneu main
This commit is contained in:
Donald Zou 2021-12-21 13:53:51 -05:00 committed by GitHub
commit a8f498f292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ConditionPathIsDirectory=/etc/wireguard
[Service]
Environment="VIRTUAL_ENV={{VIRTUAL_ENV}}"
WorkingDirectory={{APP_ROOT}}
ExecStart={{VIRTUAL_ENV}}/bin/python3 {{APP_ROOT}}dashboard.py
ExecStart={{VIRTUAL_ENV}}/bin/python3 {{APP_ROOT}}/dashboard.py
PrivateTmp=yes
Restart=always

View File

@ -28,7 +28,7 @@ _check_and_set_venv(){
if [ ! -d $VIRTUAL_ENV ]; then
python3 -m venv $VIRTUAL_ENV
fi
. ${VIRTUAL_ENV}/activate
. ${VIRTUAL_ENV}/bin/activate
}
install_wgd(){