1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Remove systemd stop/start on backup

This commit is contained in:
Krakinou 2020-06-22 22:19:23 +02:00
parent 14802ae390
commit a6fbf99cf0

View file

@ -42,8 +42,8 @@ source ../settings/scripts/_common.sh
# STOP SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop"
#Deactivate as per package linter
#ynh_systemd_action --service_name=$app --action="stop"
#=================================================
@ -89,9 +89,9 @@ ynh_backup --src_path="$calibre_dir" --is_big
#=================================================
# START SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=5
ynh_systemd_action --service_name=$app --action="start" -l "server on :$port" -t 30
#deactivate as per package_linter
#ynh_script_progression --message="Starting a systemd service..." --weight=5
#ynh_systemd_action --service_name=$app --action="start" -l "server on :$port" -t 30
#=================================================