From f611896935bc6ad9979eb9052c99af8225cced19 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 3 Apr 2022 15:53:13 -0400 Subject: Makefile: run ioslay-mgr --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85cca10..d67b257 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,13 @@ SUDO != [ "$$(id -u)" = 0 ] || echo sudo install: install-bin sh your-fired.sh install + make run-ioslay + +run-ioslay: + if systemctl --user is-active ioslay; \ + then systemctl --user restart ioslay; \ + else systemd-run --user -u ioslay ioslay-mgr.sh; \ + fi install-bin: $(SUDO) install $(BINARIES) -t $(BINDIR) -- cgit v1.2.3