mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Remove yunohost service
This commit is contained in:
parent
e388d92fb5
commit
20c9186a01
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ final_path=$(ynh_app_setting_get $app final_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
# STOP AND REMOVE SERVICE
|
# STOP AND REMOVE SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
yunohost service remove $app.target
|
||||||
systemctl stop ${app}.target ${app}_sidekiq.service ${app}_web.service
|
systemctl stop ${app}.target ${app}_sidekiq.service ${app}_web.service
|
||||||
systemctl disable ${app}.target ${app}_sidekiq.service ${app}_web.service
|
systemctl disable ${app}.target ${app}_sidekiq.service ${app}_web.service
|
||||||
ynh_secure_remove --file="/etc/systemd/system/${app}_web.service"
|
ynh_secure_remove --file="/etc/systemd/system/${app}_web.service"
|
||||||
|
|
Loading…
Reference in a new issue