mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Missing keyword arg for ynh_replace
This commit is contained in:
parent
574453228f
commit
3f3e90a079
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team create --name "$
|
||||||
ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team users add "$team_name" "$admin"
|
ynh_hide_warnings sudo --preserve-env -u $app "$bin_mmctl" team users add "$team_name" "$admin"
|
||||||
|
|
||||||
# Disable mmctl passwordless access
|
# Disable mmctl passwordless access
|
||||||
ynh_replace '"EnableLocalMode": true' '"EnableLocalMode": false' "$install_dir/config/config.json"
|
ynh_replace --match='"EnableLocalMode": true' --replace='"EnableLocalMode": false' --file="$install_dir/config/config.json"
|
||||||
ynh_systemctl --service=$app --action=restart --log_path=systemd --wait_until="Started Mattermost"
|
ynh_systemctl --service=$app --action=restart --log_path=systemd --wait_until="Started Mattermost"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue