diff options
Diffstat (limited to 'debian/freeside-torrus.postinst')
-rw-r--r-- | debian/freeside-torrus.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/freeside-torrus.postinst b/debian/freeside-torrus.postinst new file mode 100644 index 000000000..4cc54872a --- /dev/null +++ b/debian/freeside-torrus.postinst @@ -0,0 +1,6 @@ +#!/bin/bash + +chown freeside.freeside /var/log/torrus +mkdir /srv/torrus/; mkdir /srv/torrus/collector_rrd +chown -R freeside:freeside /srv/torrus/collector_rrd /usr/local/etc/torrus/discovery /usr/local/etc/torrus/xmlconfig/ +torrus clearcache |