mirror of
https://github.com/YunoHost-Apps/sonarr_ynh.git
synced 2024-09-03 20:26:19 +02:00
Update scripts/restore
This commit is contained in:
parent
4255fb6ea5
commit
89dd613992
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l
|
|||
# If a first Sonarr app was running before installing this one,
|
||||
# it may have been stopped by the installation of the dependencies.
|
||||
# Let's restart it.
|
||||
if [[ $(systemctl list-units -all | grep 'sonarr.service' | grep 'inactive') ]]; then
|
||||
if ! systemctl is-active $app.service; then
|
||||
ynh_exec_fully_quiet ynh_systemd_action --service_name=sonarr --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue