Skip to content

Instantly share code, notes, and snippets.

@azat
Created July 14, 2015 10:20
Show Gist options
  • Save azat/ae33301f80e804e4f347 to your computer and use it in GitHub Desktop.
Save azat/ae33301f80e804e4f347 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
self=$(readlink -f $(dirname $0))
cd $self
inoticoming \
--logfile logs/inoticoming.log \
--pid-file tmp/inoticoming.pid \
incoming \
--suffix .changes \
--stderr-to-log \
reprepro -s -b $PWD --waitforlock 1000 processincoming rulename {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment