mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
STOP AND REMOVE SERVICE
This commit is contained in:
parent
937377f355
commit
c7c4e003c4
1 changed files with 5 additions and 1 deletions
|
@ -25,8 +25,12 @@ GUIPORT=$(ynh_app_setting_get $app guiport)
|
||||||
|
|
||||||
final_path=$(ynh_app_setting_get $app final_path)
|
final_path=$(ynh_app_setting_get $app final_path)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STOP AND REMOVE SERVICE
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info "Stopping and removing the systemd service"
|
||||||
|
|
||||||
# Stop and remove syncthing service
|
# Remove the dedicated systemd config
|
||||||
sudo systemctl stop syncthing@$SYNCUSER.service
|
sudo systemctl stop syncthing@$SYNCUSER.service
|
||||||
sudo yunohost service remove syncthing
|
sudo yunohost service remove syncthing
|
||||||
sudo systemctl disable syncthing@$SYNCUSER.service
|
sudo systemctl disable syncthing@$SYNCUSER.service
|
||||||
|
|
Loading…
Add table
Reference in a new issue