diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 22:51:39 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 22:51:39 -0400 |
commit | 2346777ec2c5937148b26f579bb983d864f6e2d5 (patch) | |
tree | b3658249f56a4805b0a5041d747b89836af832b6 /templates/inoticoming.default.erb | |
parent | 42c6a74934a606a4094fd27c216db20cc71224ab (diff) |
make the default file a template, not the init script
Diffstat (limited to 'templates/inoticoming.default.erb')
-rw-r--r-- | templates/inoticoming.default.erb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/inoticoming.default.erb b/templates/inoticoming.default.erb new file mode 100644 index 0000000..3b81fc8 --- /dev/null +++ b/templates/inoticoming.default.erb @@ -0,0 +1,22 @@ +# /etc/default/inoticoming +# +# for an explanation of options and actions, see inoticoming(1) + +# user to run inoticoming as +USER=incoming + +# 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=0 + +# 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 {} ;" |