aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsyslog
diff options
context:
space:
mode:
authorCameron Banta <cbanta@gmail.com>2012-07-26 17:02:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-07-27 07:42:12 +0000
commit882532cc871f5e986586f3e85fd4a6e633f7ecd0 (patch)
tree1dccda0f3fd3913b2f89c8da9daf8ce25a30cf3b /main/rsyslog
parentcdf1690df4326e9cecb92d888f1f45feac473d75 (diff)
downloadaports-882532cc871f5e986586f3e85fd4a6e633f7ecd0.tar.bz2
aports-882532cc871f5e986586f3e85fd4a6e633f7ecd0.tar.xz
main/rsyslog: update init.d script
fix issue where rsyslog starts before hostname is set up, and remote logs are missing hostname Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'main/rsyslog')
-rw-r--r--main/rsyslog/APKBUILD4
-rw-r--r--main/rsyslog/rsyslog.initd1
2 files changed, 3 insertions, 2 deletions
diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index cdd4be2c4d..4b7241b669 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: cbanta@gmail.com
pkgname=rsyslog
pkgver=6.2.2
-pkgrel=0
+pkgrel=1
pkgdesc="Enhanced multi-threaded syslogd with database support and more."
url="http://www.rsyslog.com/"
arch="all"
@@ -86,7 +86,7 @@ snmp() {
}
md5sums="b797b8222d6ea4d5dfa007efe8aafa7f rsyslog-6.2.2.tar.gz
-b3fcedb16f9de2d9434ce4c89004a73b rsyslog.initd
+e2566e40938c054b61f873dd239d4856 rsyslog.initd
0a0aef98f677364e6178c34274df7723 rsyslog.confd
bc43debc9ffdf66bc1409025fd3d1176 rsyslog.logrotate
65fbf5a7a81a53a70974e3085e96cb41 rsyslog.conf"
diff --git a/main/rsyslog/rsyslog.initd b/main/rsyslog/rsyslog.initd
index 9187fa5737..459832e78b 100644
--- a/main/rsyslog/rsyslog.initd
+++ b/main/rsyslog/rsyslog.initd
@@ -6,6 +6,7 @@
extra_started_commands="reload"
depend() {
+ need clock hostname localmount
provide logger
}