mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
Update install
This commit is contained in:
parent
f2edf885f0
commit
acb338adb6
1 changed files with 4 additions and 6 deletions
|
@ -82,12 +82,10 @@ yunohost service add "$app" --description="Gotosocial server" --log="/var/log/$a
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Creating gotosocial admin user..." --weight=1
|
ynh_script_progression --message="Creating gotosocial admin user..." --weight=1
|
||||||
|
|
||||||
# using "/var/www/$app" instead of "$install_dir" as a temporary workaround for this bug:
|
pushd $install_dir
|
||||||
# bad_ynh_exec_syntax() false positive: https://github.com/YunoHost/package_linter/issues/123
|
ynh_exec_warn_less ./gotosocial --config-path "$install_dir/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
||||||
|
ynh_exec_warn_less ./gotosocial --config-path "$install_dir/config.yaml" admin account promote --username "$admin"
|
||||||
ynh_exec_warn_less /var/www/"$app"/gotosocial --config-path "$install_dir/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
popd
|
||||||
|
|
||||||
ynh_exec_warn_less /var/www/"$app"/gotosocial --config-path "$install_dir/config.yaml" admin account promote --username "$admin"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue