expand-template la conf avant le démarrage

tags/0.1.0
Daniel Berteaud 13 years ago
parent d9f509b936
commit e0cf7dca2a
  1. 2
      root/var/service/ntop/run
  2. 1
      smeserver-ntop.spec

@ -4,5 +4,7 @@ exec 2>&1
[ -e /var/lib/ntop/ntop_pw.db ] || exec /usr/sbin/ntop --set-admin-password=admin [ -e /var/lib/ntop/ntop_pw.db ] || exec /usr/sbin/ntop --set-admin-password=admin
/sbin/e-smith/expand-template /etc/ntop.conf
exec /usr/sbin/ntop @/etc/ntop.conf exec /usr/sbin/ntop @/etc/ntop.conf

@ -29,6 +29,7 @@ to run ntop on your SME Server
%changelog %changelog
* Thu May 31 2012 Daniel B. <daniel@firewall-services.com> 0.1.0-1 * Thu May 31 2012 Daniel B. <daniel@firewall-services.com> 0.1.0-1
- Move to GIT - Move to GIT
- Expand conf before startup
* Tue Feb 21 2012 Daniel B. <daniel@firewall-services.com> 0.1-6 * Tue Feb 21 2012 Daniel B. <daniel@firewall-services.com> 0.1-6
- Expand ntop conf in bootstrap-console-save - Expand ntop conf in bootstrap-console-save

Loading…
Cancel
Save