2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-04 14:05:50 -07:00

busybox: add crond and syslogd runit service

This commit is contained in:
Muhammad Herdiansyah 2019-07-01 00:02:47 +07:00
parent d07973c30e
commit cffe93c340
4 changed files with 10 additions and 2 deletions

View File

@ -6,8 +6,12 @@ make install
# Work around no 'DESTDIR'.
cp -a _install/. "$1"
# install runit services
# Install runit services.
install -Dm755 acpid.run "$1/etc/sv/acpid/run"
install -Dm755 crond.run "$1/etc/sv/crond/run"
install -Dm755 syslogd.run "$1/etc/sv/syslogd/run"
install -Dm755 udhcpc.run "$1/etc/sv/udhcpc/run"
ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
ln -s /run/runit/supervise.crond "$1/etc/sv/crond/supervise"
ln -s /run/runit/supervise.syslogd "$1/etc/sv/syslogd/supervise"
ln -s /run/runit/supervise.udhcpc "$1/etc/sv/udhcpc/supervise"

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec crond -f

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec syslogd -n

View File

@ -1 +1 @@
1.30.1 2
1.30.1 3