diff options
Diffstat (limited to 'ca/rpki-manage')
-rwxr-xr-x | ca/rpki-manage | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ca/rpki-manage b/ca/rpki-manage new file mode 100755 index 00000000..0d581ce9 --- /dev/null +++ b/ca/rpki-manage @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import os +from django.core.management import execute_from_command_line + +# django-admin seems to have problems creating the superuser account when +# $LANG is unset or is set to something totally incompatible with UTF-8. +if os.environ.get('LANG') in (None, "", "C"): + os.environ['LANG'] = 'en_US.UTF-8' + +os.environ['DJANGO_SETTINGS_MODULE'] = 'rpki.gui.default_settings' + +execute_from_command_line() |