fix: ASCII-safe startup log messages + force UTF-8 stdout in the systemd unit
A unit on an old distro without a UTF-8 locale gets latin-1/ascii
stdout; structlog's print of the em-dash in the webclient-disabled
message raised UnicodeEncodeError and killed the app at startup
(Application startup failed, crash-loop restart counter 28). The unit
now sets PYTHONIOENCODING=utf-8 so any future non-ASCII log line is
safe too.
1 parent 04d30bc commit d094dd3fbdc9942128249bcbaa033cc84d84eb4f
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 16 hours ago
Showing 2 changed files
View
deploy/install.sh
View
navi/main.py