From 16dc657a78d7118bcd0d2efbacf63378f80cc624 Mon Sep 17 00:00:00 2001 From: mt77 Date: Fri, 21 Feb 2025 02:49:15 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20monitor.service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitor.service | 1 + 1 file changed, 1 insertion(+) diff --git a/monitor.service b/monitor.service index 7677423..a4a3d44 100644 --- a/monitor.service +++ b/monitor.service @@ -7,6 +7,7 @@ Type=simple User=YOU_USER Group=YOU_GPOUP ExecStart=/bin/python3 /you/path/to/monitor.py +ExecStop=kill -9 $PID Restart=always [Install]