mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
1fa0147e21
(cherry picked from commit 1a7fde7c120fea7872ec909141a7e7824dbff376) Signed-off-by: Alexander Wühr <awuehr@pnyhf.eu>
15 lines
452 B
Bash
Executable file
15 lines
452 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
ynh_script_progression --message="Updating systemd service..." --weight=1
|
|
ynh_add_systemd_config
|
|
|
|
ynh_script_progression --message="Updating webserver configuration..." --weight=1
|
|
ynh_change_url_nginx_config
|
|
|
|
ynh_script_progression --message="Restarting systemd service..." --weight=1
|
|
ynh_systemd_action --action=restart
|
|
|
|
ynh_script_progression --message="URL change completed" --last
|