mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Aaaand I made a typo / untested commit :'<
This commit is contained in:
parent
4d35cfa0e4
commit
7611c86cdd
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ popd
|
||||||
cat "../conf/ldap.exs" >> "$config"
|
cat "../conf/ldap.exs" >> "$config"
|
||||||
|
|
||||||
pushd $final_path/$app
|
pushd $final_path/$app
|
||||||
chown o-rwx $config
|
chmod o-rwx $config
|
||||||
ynh_secure_remove --file="/tmp/setup_db.psql"
|
ynh_secure_remove --file="/tmp/setup_db.psql"
|
||||||
sudo -u "$app" MIX_ENV=prod mix ecto.migrate
|
sudo -u "$app" MIX_ENV=prod mix ecto.migrate
|
||||||
sudo -u "$app" MIX_ENV=prod mix mobilizon.users.new "$admin_email" --admin --password "$password"
|
sudo -u "$app" MIX_ENV=prod mix mobilizon.users.new "$admin_email" --admin --password "$password"
|
||||||
|
|
|
@ -176,7 +176,7 @@ ynh_script_progression --message="Modifying a config file..."
|
||||||
|
|
||||||
config="$final_path/$app/config/prod.secret.exs"
|
config="$final_path/$app/config/prod.secret.exs"
|
||||||
ynh_backup_if_checksum_is_different --file="$config"
|
ynh_backup_if_checksum_is_different --file="$config"
|
||||||
chown o-rwx $config
|
chmod o-rwx $config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MAKE SETUP
|
# MAKE SETUP
|
||||||
|
|
Loading…
Add table
Reference in a new issue