The following changes were made:
* Moved to new CONFIG directory * Updated init script to exit non zero if status shows nothing running
This commit is contained in:
8
Makefile
8
Makefile
@@ -69,7 +69,7 @@ URL = https://www.rsyslog.com/
|
||||
REPO = main
|
||||
BRIEF = RSYSLOG is the rocket-fast system for log processing
|
||||
DESC = RSYSLOG is the rocket-fast system for log processing
|
||||
SNAPVER = 1
|
||||
SNAPVER = 2
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -129,12 +129,7 @@ $(ROOT): $(SRCDIR)/tools/rsyslogd
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
install -v -d -m 0755 $(ROOT)/etc/init.d && \
|
||||
install -v -d -m 0755 $(ROOT)/etc/rsyslog.d && \
|
||||
install -v -d -m 0755 $(ROOT)/usr/share/$(PACKAGE) && \
|
||||
install -v -d -m 0755 $(ROOT)/var/spool/rsyslog && \
|
||||
install -v -m 0644 $(SNAPDIR)/rsyslog.conf \
|
||||
$(ROOT)/usr/share/$(PACKAGE)/rsyslog.conf && \
|
||||
install -v -m 0644 $(SNAPDIR)/rsyslog.logrotate \
|
||||
$(ROOT)/usr/share/$(PACKAGE)/rsyslog.logrotate && \
|
||||
install -v -m 0755 $(SNAPDIR)/rsyslog.init \
|
||||
$(ROOT)/etc/init.d/rsyslog
|
||||
|
||||
@@ -147,5 +142,6 @@ clean:
|
||||
$(SNAPINFO) \
|
||||
$(MANIFEST) \
|
||||
$(FILES) \
|
||||
$(CONFIG) \
|
||||
$(SRCDIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user