mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
try fix swoosh smtp
This commit is contained in:
parent
40074a31b2
commit
71c9e8613b
1 changed files with 9 additions and 9 deletions
|
@ -231,15 +231,6 @@ chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:$app "$datadir"
|
chown -R $app:$app "$datadir"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# MAKE SETUP
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Making setup..."
|
|
||||||
|
|
||||||
pushd $final_path/live
|
|
||||||
ynh_exec_as $app ./bin/mobilizon_ctl migrate
|
|
||||||
popd
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -252,6 +243,15 @@ ynh_replace_string --match_string="adapter: Bamboo.SMTPAdapter," --replace_strin
|
||||||
ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config"
|
ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config"
|
||||||
ynh_store_file_checksum --file="$config"
|
ynh_store_file_checksum --file="$config"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MAKE SETUP
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Making setup..."
|
||||||
|
|
||||||
|
pushd $final_path/live
|
||||||
|
ynh_exec_as $app ./bin/mobilizon_ctl migrate
|
||||||
|
popd
|
||||||
|
|
||||||
chmod 400 "$config"
|
chmod 400 "$config"
|
||||||
chown $app:$app "$config"
|
chown $app:$app "$config"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue