mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
Fix secret key generation
This commit is contained in:
parent
b5ca626873
commit
ad9ef4aba3
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ SECRET_KEY_FILE="$DATA_DIR/secret_key"
|
|||
if [ ! -f "$SECRET_KEY_FILE" ]; then
|
||||
echo ">>> Creating a new secret key file..."
|
||||
install -m 0600 /dev/null "$SECRET_KEY_FILE"
|
||||
SECRET_KEY=$(bundle exec rails secret)
|
||||
SECRET_KEY=$(bundle exec rake secret)
|
||||
echo "$key" > "$SECRET_KEY_FILE"
|
||||
chmod -w "$SECRET_KEY_FILE"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue