From d44fd0169fcb9ba3debcaab38b526c7c7bf96d61 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sat, 1 Sep 2018 17:52:19 -0700 Subject: sv: include runit service files to run cron drop-in scripts Closes: #6 [via git-merge-pr] --- sv/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sv/Makefile (limited to 'sv/Makefile') diff --git a/sv/Makefile b/sv/Makefile new file mode 100644 index 0000000..d97cc39 --- /dev/null +++ b/sv/Makefile @@ -0,0 +1,12 @@ +DESTDIR= +SYSCONFDIR=/etc +SVDIR=$(SYSCONFDIR)/sv + +install: FRC + for f in daily hourly weekly monthly; do \ + mkdir -p $(DESTDIR)$(SVDIR)/snooze-$$f; \ + install -m0755 snooze-$$f/run snooze-$$f/finish \ + $(DESTDIR)$(SVDIR)/snooze-$$f/; \ + done + +FRC: -- cgit v1.2.3