mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
add a global extractor enable/disable option to piler.conf
This commit is contained in:
@ -31,6 +31,7 @@ all:
|
||||
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf
|
||||
|
||||
install:
|
||||
$(INSTALL) -m 0640 -g $(RUNNING_GROUP) $(srcdir)/piler.conf $(DESTDIR)$(sysconfdir)/piler.conf.dist
|
||||
if [ ! -f "$(DESTDIR)$(sysconfdir)/piler.conf" ]; then $(INSTALL) -m 0640 -g $(RUNNING_GROUP) $(srcdir)/piler.conf $(DESTDIR)$(sysconfdir)/piler.conf; fi
|
||||
sed -e 's%LOCALSTATEDIR%$(localstatedir)%g' $(srcdir)/sphinx.conf.in > sphinx.conf.dist
|
||||
$(INSTALL) -m 0644 -g $(RUNNING_GROUP) $(srcdir)/sphinx.conf.dist $(DESTDIR)$(sysconfdir)/sphinx.conf.dist
|
||||
|
@ -52,9 +52,11 @@ listen_port=25
|
||||
|
||||
clamd_socket=/tmp/clamd
|
||||
|
||||
session_timeout=420
|
||||
helper_timeout=20
|
||||
|
||||
; whether to run external attachment extractors (1) or not (0)
|
||||
extract_attachments=1
|
||||
|
||||
; the 2nd parameter of the listen() system call. Please note that this is set
|
||||
; when piler starts up and you should restart piler if you change this variable.
|
||||
; Please also note that the meaning of this variable depends on your Unix implementation
|
||||
|
Reference in New Issue
Block a user