jessie_bind_chroot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
jessie_bind_chroot [2016/01/11 09:14] – [Long story short:] admin | jessie_bind_chroot [2016/01/25 08:31] – [Long story short:] admin | ||
---|---|---|---|
Line 38: | Line 38: | ||
mknod / | mknod / | ||
chmod 660 / | chmod 660 / | ||
+ | chown bind / | ||
</ | </ | ||
Move the current config directory into the new chroot directory: | Move the current config directory into the new chroot directory: | ||
Line 69: | Line 70: | ||
/ | / | ||
</ | </ | ||
- | A good idea too | + | |
+ | ====Logging==== | ||
+ | |||
+ | / | ||
< | < | ||
- | chown bind / | + | / |
+ | daily | ||
+ | compress | ||
+ | delaycompress | ||
+ | rotate 5 | ||
+ | missingok | ||
+ | postrotate | ||
+ | [ -e / | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | / | ||
+ | daily | ||
+ | compress | ||
+ | delaycompress | ||
+ | rotate 5 | ||
+ | missingok | ||
+ | postrotate | ||
+ | [ -e / | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | / | ||
+ | daily | ||
+ | compress | ||
+ | delaycompress | ||
+ | rotate 5 | ||
+ | missingok | ||
+ | postrotate | ||
+ | [ -e / | ||
+ | endscript | ||
+ | } | ||
</ | </ | ||
Line 95: | Line 131: | ||
chgrp bind / | chgrp bind / | ||
chown bind / | chown bind / | ||
- | touch / | + | touch / |
- | ln -s / | + | ln -s / |
+ | chgrp bind / | ||
vi / | vi / | ||
Line 105: | Line 142: | ||
</ | </ | ||
- | + | * Add the logrotate script from above |
jessie_bind_chroot.txt · Last modified: 2016/01/25 08:33 by admin