systemd: start script - exec the python

This commit is contained in:
Athanasius 2021-06-14 17:34:34 +01:00
parent f98809fd2e
commit 2c06b8e79e

View File

@ -34,4 +34,4 @@ then
exit 2
fi
${PYTHON_VENV}/bin/${SERVICE} --config "${CONFIG_OVERRIDE}" >> "${LOG_DIR}/${SERVICE}.log" 2>&1
exec ${PYTHON_VENV}/bin/${SERVICE} --config "${CONFIG_OVERRIDE}" >> "${LOG_DIR}/${SERVICE}.log" 2>&1