mirror of
https://github.com/YunoHost-Apps/miniflux_ynh.git
synced 2024-09-03 19:45:58 +02:00
[autopatch] Automatic patch attempt for helpers 2.1
This commit is contained in:
parent
d8caf322ab
commit
971d35cf5a
5 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@ admindoc = "https://miniflux.app/docs/index.html"
|
||||||
code = "https://github.com/miniflux/v2"
|
code = "https://github.com/miniflux/v2"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.2.27"
|
yunohost = ">= 11.2.18"
|
||||||
helpers_version = "2.1"
|
helpers_version = "2.1"
|
||||||
architectures = ["amd64", "armhf", "arm64"]
|
architectures = ["amd64", "armhf", "arm64"]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
|
|
|
@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Stopping $app's systemd service..."
|
ynh_script_progression "Stopping $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service=$app --action=stop
|
ynh_systemctl --action=stop
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY URL IN NGINX CONF
|
# MODIFY URL IN NGINX CONF
|
||||||
|
@ -34,7 +34,7 @@ chmod 600 "$install_dir/$app.conf"
|
||||||
ynh_script_progression "Starting $app's systemd service..."
|
ynh_script_progression "Starting $app's systemd service..."
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemctl --service=$app --action=start --log_path=systemd
|
ynh_systemctl --action=start --log_path=systemd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -54,7 +54,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Starting $app's systemd service..."
|
ynh_script_progression "Starting $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service=$app --action=start --log_path=systemd
|
ynh_systemctl --action=start --log_path=systemd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -40,7 +40,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Starting $app's systemd service..."
|
ynh_script_progression "Starting $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service=$app --action=start --log_path=systemd
|
ynh_systemctl --action=start --log_path=systemd
|
||||||
|
|
||||||
ynh_systemctl --service=nginx --action=reload
|
ynh_systemctl --service=nginx --action=reload
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Stopping $app's systemd service..."
|
ynh_script_progression "Stopping $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service=$app --action=stop --log_path=systemd
|
ynh_systemctl --action=stop --log_path=systemd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -37,7 +37,7 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Starting $app's systemd service..."
|
ynh_script_progression "Starting $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service=$app --action=start --log_path=systemd
|
ynh_systemctl --action=start --log_path=systemd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue