summaryrefslogtreecommitdiff
path: root/templates/inoticoming.default.erb
blob: dd4d55d7f2b7c14fba502faa5209afd74dea3ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is managed by Puppet. Do not edit, any changes will be overwritten!

# /etc/default/inoticoming
#
# for an explanation of options and actions, see inoticoming(1)

# user to run inoticoming as
USER=<%= @user %>

# log to some file instead of syslog
# required if you want to use --stdout-to-log or --stderr-to-log in actions
LOGFILE="/var/log/incoming.log"

# first search the directory for files already existing
# 0 for false, 1 for true
INITIALSEARCH=1

# directory to monitor
DIR=<%= @basedir %>/incoming

# actions
BASEDIR=<%= @basedir %>
RULENAME=incoming
ACTIONS="--suffix .changes --stderr-to-log reprepro -s -b $BASEDIR --waitforlock 1000 processincoming $RULENAME {} ;"