Alejandro Barrera dijo [Sat, Jan 24, 2009 at 05:27:59PM +0100]:
> I was wondering why can't the deb package trigger the config convertor when 
> needed and do a backup copy of the old config just in case?
> 
> Is there a reason for not doing it? Just wondering :)

They do! The instructions were sent by the Cherokee team. When you
install them as Debian packages:

0 r...@mosca[2]/home/gwolf# ls /etc/cherokee/
cherokee.conf  cherokee.conf.perf_sample  ssl
0 r...@mosca[3]/home/gwolf# dpkg -l cherokee 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                Version                             
Description
+++-===================================-===================================-======================================================================================
ii  cherokee                            0.11.6-1                            
extremely fast and flexible web server
0 r...@mosca[5]/home/gwolf# for i in $(dpkg -l *cherok*|grep ^ii|cut -f 3 -d \ 
|sort -r); do dpkg -i build-area/${i}_0.98*deb; done
(...)
0 r...@mosca[6]/home/gwolf# ls /etc/cherokee/
cherokee.conf  cherokee.conf.dpkg-dist  cherokee.conf.perf_sample  pre-0.98  ssl
0 r...@mosca[7]/home/gwolf# diff -u /etc/cherokee/cherokee.conf 
/etc/cherokee/pre-0.98/cherokee.conf 
--- /etc/cherokee/cherokee.conf  2009-01-26 08:18:36.000000000 -0600
+++ /etc/cherokee/pre-0.98/cherokee.conf    2008-12-26 11:03:48.000000000 -0600
@@ -8,9 +8,8 @@
 
 # Server
 #
-server!bind!1!port = 80
-server!bind!2!tls = 1
-server!bind!2!port = 443
+server!port = 80
+server!port_tls = 443
 server!timeout = 15
 server!keepalive = 1
 server!keepalive_max_requests = 500
@@ -65,7 +64,7 @@
 vserver!1!rule!99999!handler!balancer = round_robin
 vserver!1!rule!99999!handler!balancer!source!1 = 1
 
-# Sources
+# Sources 
 #
 source!1!nick = php
 source!1!type = interpreter
@@ -374,4 +373,4 @@
 mime!video/x-msvideo!extensions = avi
 mime!video/x-sgi-movie!extensions = movie
 mime!x-conference/x-cooltalk!extensions = ice
-mime!x-world/x-vrml!extensions = vrm,vrml,wrl
\ No newline at end of file
+mime!x-world/x-vrml!extensions = vrm,vrml,wrl

Please tell me if this does not hold for you.

-- 
Gunnar Wolf - [email protected] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to