diff options
author | Rob Austein <sra@hactrn.net> | 2013-09-09 16:24:41 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-09-09 16:24:41 +0000 |
commit | 7c5648112afcdbce9c06e1d9534db8fcb28e76ca (patch) | |
tree | 5ab009039a06c1e62626b32269cd6e43cb910832 /buildtools/freebsd-skeleton | |
parent | 5115e267142039179fbc1da1da04f78c24a6218d (diff) |
Send mail from rcynic-cron to root, not rcynic. Closes #610.
svn path=/trunk/; revision=5488
Diffstat (limited to 'buildtools/freebsd-skeleton')
-rw-r--r-- | buildtools/freebsd-skeleton/rpki-rp/pkg-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/freebsd-skeleton/rpki-rp/pkg-install b/buildtools/freebsd-skeleton/rpki-rp/pkg-install index 3a8d960e..8c552016 100644 --- a/buildtools/freebsd-skeleton/rpki-rp/pkg-install +++ b/buildtools/freebsd-skeleton/rpki-rp/pkg-install @@ -84,7 +84,7 @@ POST-INSTALL) else echo "Setting up rcynic's crontab to run rcynic-cron script" /usr/bin/awk -v t=`/usr/bin/hexdump -n 2 -e '"%u\n"' /dev/random` ' - BEGIN {printf "%u * * * *\texec /usr/local/bin/rcynic-cron\n", t % 60}' | + BEGIN {printf "MAILTO=root\n%u * * * *\texec /usr/local/bin/rcynic-cron\n", t % 60}' | /usr/bin/crontab -u rcynic - fi echo "Setting up rpki-rtr listener under inetd" |