Set a default DJANGO_SETTINGS_MODULE in content app
The API service use the WSGI entry point which sets a default env var for DJANGO_SETTINGS_MODULE which means the service file doesn't need to set this. The content application doesn't and that means it needs to be set in the service file. Setting this makes configuration easier.
Added by Ewoud Kohl van Wijngaarden over 2 years ago
Set a default DJANGO_SETTINGS_MODULE env var in content app
This aligns the content service to the WSGI service (API) which already sets a default env var for DJANGO_SETTINGS_MODULE. By providing a default, the systemd service doesn't have to duplicate this and makes configuration easier.