wok rev 14700
monitorix: update /etc/monitorix.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:27:21 2013 +0200 (2013-06-07) |
parents | f4ffc570d90c |
children | 7518d9c7f507 |
files | monitorix/receipt |
line diff
1.1 --- a/monitorix/receipt Fri Jun 07 16:22:55 2013 +0200 1.2 +++ b/monitorix/receipt Fri Jun 07 18:27:21 2013 +0200 1.3 @@ -25,9 +25,10 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/logrotate.d 1.7 - mkdir -p $fs/usr/share/monitorix 1.8 + mkdir -p $fs/usr/share/monitorix/cgi 1.9 cp -a $src/monitorix.conf $fs/etc 1.10 - sed 's|/var/lib|/usr/lib|' $fs/etc/monitorix.conf 1.11 + sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $fs/etc/monitorix.conf 1.12 + sed -i "s|group = nobody|group = nogroup|' $fs/etc/monitorix.conf 1.13 cp -a $src/docs/monitorix.logrotate $fs/etc/logrotate.d/monitorix 1.14 cp -a $src/monitorix $fs/usr/bin 1.15 cp -a $src/lib $fs/usr/lib/monitorix