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:
parent
d07973c30e
commit
cffe93c340
@ -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"
|
||||
|
2
core/busybox/files/crond.run
Normal file
2
core/busybox/files/crond.run
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec crond -f
|
2
core/busybox/files/syslogd.run
Normal file
2
core/busybox/files/syslogd.run
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec syslogd -n
|
@ -1 +1 @@
|
||||
1.30.1 2
|
||||
1.30.1 3
|
||||
|
Loading…
Reference in New Issue
Block a user