Update example config file
authorNeutron Soutmun <neo.neutron@gmail.com>
Thu, 2 Apr 2009 10:58:54 +0000 (17:58 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Thu, 2 Apr 2009 10:58:54 +0000 (17:58 +0700)
2009-04-02  Neutron Soutmun <neo.neutron@gmail.com>

* example/{rahunas,rahunas-vserver}.conf.in,
  example/rahunas.default.in:
  Substitute @prefix@ with the appropriate variables for each location,
  @prefix@/etc with @sysconfdir@, @prefix@/var with @localstatedir@.

ChangeLog
example/rahunas-vserver.conf.in
example/rahunas.conf.in
example/rahunas.default.in

index abe6e23..e7ef965 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-02  Neutron Soutmun <neo.neutron@gmail.com>
+
+       * example/{rahunas,rahunas-vserver}.conf.in,
+         example/rahunas.default.in: 
+         Substitute @prefix@ with the appropriate variables for each location, 
+         @prefix@/etc with @sysconfdir@, @prefix@/var with @localstatedir@.
+
 2009-03-31  Neutron Soutmun <neo.neutron@gmail.com>
 
        * configure.ac: Bump version to 0.1.3
index 48f5f9c..1655677 100644 (file)
@@ -10,6 +10,8 @@ rahunas_default = {
   ignore_mac = "no"
   vserver_ip = "172.30.0.1"
   vserver_fqdn = "authen.rahunas.local"
+  vserver_ports_allow = "80,443"
+  vserver_ports_intercept = "80,8080,8088,3128"
   clients = "172.30.0.0/22"
   excluded = ""
   idle_timeout = "600"
index bafa62e..4f67844 100644 (file)
@@ -5,8 +5,8 @@
 //////////////////////////////////////////////////////////
 
 main = {
-  conf_dir = "@prefix@/etc/rahunas/rahunas.d"
-  log_file = "@prefix@/var/log/rahunas/rahunas.log"
+  conf_dir = "@sysconfdir@/rahunas/rahunas.d"
+  log_file = "@localstatedir@/log/rahunas/rahunas.log"
 
   bandwidth_shape = "yes"  
   bittorrent_download_max = "512"
index f3a9ad1..b3af5a1 100644 (file)
@@ -5,4 +5,4 @@
 RUN_DAEMON=no
 
 # RahuNAS config file
-RAHUNAS_CONFIG=@prefix@/etc/rahunas/rahunas.conf
+RAHUNAS_CONFIG=@sysconfdir@/rahunas/rahunas.conf