aboutsummaryrefslogtreecommitdiff
path: root/extra/scron
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-30 14:05:27 +0300
committerCem Keylan <cem@ckyln.com>2020-03-30 14:05:27 +0300
commit6dbf04260e2a63e9b3f7241ca2e8a64113a28e3d (patch)
tree2456c818c0722894e88a5a4f24a3cc9000f502ae /extra/scron
parenta936d2c266e21cabe0859318a9a2271fd1856975 (diff)
downloadrepository-6dbf04260e2a63e9b3f7241ca2e8a64113a28e3d.tar.gz
meta: install sysmgr services as well as runit services
Diffstat (limited to 'extra/scron')
-rwxr-xr-xextra/scron/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/scron/build b/extra/scron/build
index 6564e5d3..fd90a6f7 100755
--- a/extra/scron/build
+++ b/extra/scron/build
@@ -6,3 +6,7 @@ make PREFIX="$1/usr" MANPREFIX="$1/usr/share/man" install
# Install runit service
install -Dm755 scron.run "$1/etc/sv/scron/run"
+ln -sv /run/runit/supervise.scron "$1/etc/sv/scron/supervise"
+
+# Install sysmgr service
+install -Dm755 scron.run "$1/etc/sysmgr/scron"