소스 검색

Update remove

DeMiro5001 6 달 전
부모
커밋
0d83e7f839
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      scripts/remove

+ 5 - 0
scripts/remove

@@ -12,6 +12,11 @@ source /usr/share/yunohost/helpers
 #=================================================
 ynh_script_progression "Removing system configurations related to $app..."
 
+if ynh_hide_warnings yunohost service status "$app" >/dev/null; then
+    yunohost service remove "$app"
+fi
+ynh_config_remove_systemd
+
 #ynh_config_remove_fail2ban
 
 ynh_config_remove_logrotate