commit 7a289b68392737475dece4b46df1fed015bcb1be
parent 4a4509811ff8933f81c4e5081dcc63679729bf18
Author: St John Karp <contact@stjo.hn>
Date: Fri, 29 Jul 2022 12:28:59 -0400
svc: Add empty launcher for cron
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/svc/build b/core/svc/build
@@ -17,6 +17,8 @@ install -m 755 -D bin/svc "$1/usr/bin/svc"
cp -r svc.d "$1/usr/bin/svc.d"
# Custom init scripts.
+# Support for sbase cron.
+touch "$1/usr/bin/svc.d/avail/cron"
# Use cron's defaults. The params here won't work with busybox cron.
rm "$1/usr/bin/svc.d/default/crond"
touch "$1/usr/bin/svc.d/avail/dhcpcd"