Commit 739957b
Set
The script ran fine from the console, but not when run as a systemd service, causing the following error:
`ModuleNotFound error: No module named 'main'`
when launching gunicorn. Set `PYTHONPATH` before launching gunicorn to avoid this.PYTHONPATH to avoid ModuleNotFoundError
1 parent 1ce2af2 commit 739957b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
0 commit comments