mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
So closer..
This commit is contained in:
parent
ea4b30c38a
commit
e5b3a856eb
2 changed files with 3 additions and 3 deletions
|
@ -9,8 +9,8 @@
|
|||
#=================================================
|
||||
ntfy_setup_source() {
|
||||
ynh_setup_source -d "$install_dir" -s "$YNH_ARCH"
|
||||
ynh_secure_remove -f "$install_dir/client"
|
||||
ynh_secure_remove -f "$install_dir/server"
|
||||
ynh_secure_remove "$install_dir/client"
|
||||
ynh_secure_remove "$install_dir/server"
|
||||
mkdir -p "$install_dir/data"
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,6 @@ ynh_script_progression -m "Starting systemd service..." -w 1
|
|||
ynh_systemd_action -a start
|
||||
|
||||
ynh_script_progression -m "Adding admin user..." -w 1
|
||||
ynh_exex_as $app NTFY_PASSWORD="$password" $install_dir/ntfy.sh user add --role=admin $admin
|
||||
ynh_exec_as $app NTFY_PASSWORD="$password" $install_dir/ntfy.sh user add --role=admin $admin
|
||||
|
||||
ynh_script_progression -m "Installation completed" -l
|
||||
|
|
Loading…
Add table
Reference in a new issue