summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-04-03 15:53:13 -0400
committerAndrew Cady <d@cryptonomic.net>2022-04-03 15:53:13 -0400
commitf611896935bc6ad9979eb9052c99af8225cced19 (patch)
tree89b2ad723a9cb7cbf92c08dc448cefdb6d37a743 /Makefile
parenta926f33f9b79eb39995070eff40c657896dae444 (diff)
Makefile: run ioslay-mgr
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85cca10..d67b257 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,13 @@ SUDO != [ "$$(id -u)" = 0 ] || echo sudo
6 6
7install: install-bin 7install: install-bin
8 sh your-fired.sh install 8 sh your-fired.sh install
9 make run-ioslay
10
11run-ioslay:
12 if systemctl --user is-active ioslay; \
13 then systemctl --user restart ioslay; \
14 else systemd-run --user -u ioslay ioslay-mgr.sh; \
15 fi
9 16
10install-bin: 17install-bin:
11 $(SUDO) install $(BINARIES) -t $(BINDIR) 18 $(SUDO) install $(BINARIES) -t $(BINDIR)