summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2008-01-23 18:36:12 -0800
committerTom Grennan <tgrennan@vyatta.com>2008-01-23 18:36:12 -0800
commit15ab3a8e8beb74f909411b741f392cf957c905b6 (patch)
tree511735802c73b3f6863e49309e160e4887247ff2 /debian/vyatta-cfg-system.postinst.in
parent63701b09b34dfedfe2e7e0515e200a27802cf762 (diff)
downloadvyatta-cfg-system-15ab3a8e8beb74f909411b741f392cf957c905b6.tar.gz
vyatta-cfg-system-15ab3a8e8beb74f909411b741f392cf957c905b6.zip
fix /etc/crontab: logrotatedebian/0.1
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 0010f52f..00dc0265 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -45,7 +45,7 @@ fi
# update crontab for logrotate
grep -v logrotate /etc/crontab>/etc/crontab.$$
-echo "*/10 * * * * /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$
+echo "*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$
rm /etc/crontab
mv /etc/crontab.$$ /etc/crontab
crontab /etc/crontab