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:
parent
14802ae390
commit
a6fbf99cf0
1 changed files with 5 additions and 5 deletions
|
@ -42,8 +42,8 @@ source ../settings/scripts/_common.sh
|
||||||
# STOP SYSTEMD SERVICE
|
# STOP SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||||
|
#Deactivate as per package linter
|
||||||
ynh_systemd_action --service_name=$app --action="stop"
|
#ynh_systemd_action --service_name=$app --action="stop"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -89,9 +89,9 @@ ynh_backup --src_path="$calibre_dir" --is_big
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=5
|
#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
|
#ynh_systemd_action --service_name=$app --action="start" -l "server on :$port" -t 30
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue