From 5b147fca9563c733346956150109d6c0795243e7 Mon Sep 17 00:00:00 2001 From: Ilsix Date: Sat, 7 Dec 2024 01:59:47 +0100 Subject: [PATCH] added restart routine after installation --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 7a18274..67ca788 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,8 @@ install: all mkdir -p "$(DESTDIR)$(MANPREFIX)/man1" cp -f slstatus.1 "$(DESTDIR)$(MANPREFIX)/man1" chmod 644 "$(DESTDIR)$(MANPREFIX)/man1/slstatus.1" + pkill -x slstatus || true + slstatus & uninstall: rm -f "$(DESTDIR)$(PREFIX)/bin/slstatus"