mirror of
https://github.com/YunoHost-Apps/libreddit_ynh.git
synced 2024-09-03 19:36:05 +02:00
[autopatch] Automatic patch attempt for helpers 2.1
This commit is contained in:
parent
923c2fc744
commit
6f02cc7be3
4 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@ demo = "https://libreddit.spike.codes/"
|
|||
code = "https://github.com/spikecodes/libreddit"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.2.27"
|
||||
yunohost = ">= 11.2.18"
|
||||
helpers_version = "2.1"
|
||||
architectures = ["amd64"]
|
||||
multi_instance = true
|
||||
|
|
|
@ -38,7 +38,7 @@ chown $app:$app "$install_dir/redlib.conf"
|
|||
#=================================================
|
||||
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
|
||||
|
|
|
@ -24,14 +24,14 @@ systemctl enable $app.service --quiet
|
|||
|
||||
yunohost service add $app --description="Alternative to Reddit" --log="/var/log/$app/$app.log"
|
||||
|
||||
ynh_systemctl --service=$app --action="start" --log_path="systemd"
|
||||
ynh_systemctl --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression "Reloading NGINX web server and $app's service..."
|
||||
|
||||
ynh_systemctl --service=$app --action="start" --log_path="systemd"
|
||||
ynh_systemctl --action="start" --log_path="systemd"
|
||||
|
||||
ynh_systemctl --service=nginx --action=reload
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
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
|
||||
|
@ -45,7 +45,7 @@ chown $app:$app "$install_dir/redlib.conf"
|
|||
#=================================================
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue