From 95874a08a86fd0552872d5083c01fcf18d68f04d Mon Sep 17 00:00:00 2001 From: hiro98 Date: Thu, 9 Jul 2020 14:12:14 +0200 Subject: [PATCH] disable service upon removal --- src/stream/commander/systemd.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream/commander/systemd.clj b/src/stream/commander/systemd.clj index 60a9e3e..f19c664 100644 --- a/src/stream/commander/systemd.clj +++ b/src/stream/commander/systemd.clj @@ -164,6 +164,7 @@ "Stops the service, removes the unit file and reloads systemd." [name] (stop-service! name) + (disable-service! name) (remove-unit-file! name) (reload-systemd!))