2 Commits

Author SHA1 Message Date
Jay Larson
022002aca6 Added dependency for initscripts and sysvinit 2018-09-30 18:41:26 -05:00
Jay Larson
960542dcbd corrected logrotate config for rsyslog to send -HUP after log rotation 2018-09-30 17:08:58 -05:00
3 changed files with 4 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
delaycompress delaycompress
compress compress
postrotate postrotate
invoke-rc.d rsyslog rotate > /dev/null /etc/init.d/rsyslog reload > /dev/null
endscript endscript
} }
@@ -32,6 +32,6 @@
delaycompress delaycompress
sharedscripts sharedscripts
postrotate postrotate
invoke-rc.d rsyslog rotate > /dev/null /etc/init.d/rsyslog reload > /dev/null
endscript endscript
} }

View File

@@ -62,14 +62,14 @@
# of the package. # of the package.
ARCH = x86_64 ARCH = x86_64
DEPENDS = e2fsprogs,glibc,gmp,krb5,libgnutls,libnettle,logrotate,zlib DEPENDS = e2fsprogs,glibc,gmp,initscripts,krb5,libgnutls,libnettle,logrotate,sysvinit,zlib
BUILDDEPS = BUILDDEPS =
SRCPKG = SRCPKG =
URL = https://www.rsyslog.com/ URL = https://www.rsyslog.com/
REPO = main REPO = main
BRIEF = RSYSLOG is the rocket-fast system for log processing BRIEF = RSYSLOG is the rocket-fast system for log processing
DESC = RSYSLOG is the rocket-fast system for log processing DESC = RSYSLOG is the rocket-fast system for log processing
SNAPVER = 2 SNAPVER = 4
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')

View File

@@ -37,7 +37,6 @@ case "$1" in
sleep 1 sleep 1
$0 start $0 start
;; ;;
status) status)
status_of_proc -p "$PIDFILE" "$DAEMON" || exit 1 status_of_proc -p "$PIDFILE" "$DAEMON" || exit 1
;; ;;