summaryrefslogtreecommitdiff
path: root/repo/system/sysklogd.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/sysklogd.xibuild')
-rw-r--r--repo/system/sysklogd.xibuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild
index ac71d5f..8cf024e 100644
--- a/repo/system/sysklogd.xibuild
+++ b/repo/system/sysklogd.xibuild
@@ -5,6 +5,9 @@ DEPS="musl"
PKG_VER=2.3.0
SOURCE=https://github.com/troglobit/sysklogd/releases/download/v$PKG_VER/sysklogd-$PKG_VER.tar.gz
+ADDITIONAL="
+sysklogd.initd
+"
DESC="Programs for logging system messages"
build () {
@@ -27,4 +30,7 @@ user.* -/var/log/user.log
# End /etc/syslog.conf
EOF
+ install -Dm 754 sysklogd.initd $PKG_DEST/etc/init.d/sysklogd
+ mkdir -p $PKG_DEST/etc/runlevels/boot/
+ ln -s /etc/init.d/sysklogd $PKG_DEST/etc/runlevels/boot/sysklogd
}