1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreddit_ynh.git synced 2024-09-03 19:36:05 +02:00

Merge pull request #62 from yunohost-bot/auto-helpers-2.1

[autopatch] Automatic patch attempt for helpers 2.1
This commit is contained in:
eric_G 2024-08-31 16:03:22 +02:00 committed by GitHub
commit 0944fa77ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ demo = "https://libreddit.spike.codes/"
code = "https://github.com/spikecodes/libreddit" code = "https://github.com/spikecodes/libreddit"
[integration] [integration]
yunohost = ">= 11.2.27" yunohost = ">= 11.2.18"
helpers_version = "2.1" helpers_version = "2.1"
architectures = ["amd64"] architectures = ["amd64"]
multi_instance = true multi_instance = true

View file

@ -38,7 +38,7 @@ chown $app:$app "$install_dir/redlib.conf"
#================================================= #=================================================
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

View file

@ -24,14 +24,14 @@ systemctl enable $app.service --quiet
yunohost service add $app --description="Alternative to Reddit" --log="/var/log/$app/$app.log" 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 # RELOAD NGINX AND PHP-FPM OR THE APP SERVICE
#================================================= #=================================================
ynh_script_progression "Reloading NGINX web server and $app's 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 ynh_systemctl --service=nginx --action=reload

View file

@ -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
@ -45,7 +45,7 @@ chown $app:$app "$install_dir/redlib.conf"
#================================================= #=================================================
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