From 1d6d153a2501d124a92f753dabcae1d29a939cce Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Wed, 23 Nov 2022 10:57:09 +0800 Subject: [PATCH] Update mingdao.service --- apps/roles/mingdao/files/mingdao.service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/roles/mingdao/files/mingdao.service b/apps/roles/mingdao/files/mingdao.service index baa1e153..30404508 100644 --- a/apps/roles/mingdao/files/mingdao.service +++ b/apps/roles/mingdao/files/mingdao.service @@ -4,8 +4,6 @@ After=network.target [Service] Type=simple ExecStart=/bin/bash /data/apps/mingdao/installer/service.sh start -ExecStop=-/bin/bash /data/apps/mingdao/installer/service.sh stop -ExecStopPost=-/usr/bin/pkill mingdaoyun -PIDFile=/data/apps/mingdao/installer/service.pid +ExecStop=-/usr/bin/pkill mingdaoyun [Install] WantedBy=multi-user.target