mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-09-05 18:41:00 +00:00
snap: Add registration configuration option
This commit is contained in:
parent
8255c8f3ef
commit
34ccab8042
2 changed files with 12 additions and 0 deletions
|
@ -22,6 +22,12 @@ then
|
|||
export ROCKET_FEDERATION_ENABLED=${federation_enabled}
|
||||
fi
|
||||
|
||||
registration_enabled="$(snapctl get registration)"
|
||||
if [ -n "${registration_enabled}" -a "${registration_enabled}" = "false" ]
|
||||
then
|
||||
export ROCKET_REGISTRATION_DISABLED="true"
|
||||
fi
|
||||
|
||||
export ROCKET_ENV="production"
|
||||
export ROCKET_DATABASE_PATH=${SNAP_DATA}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue