aMule Forum

English => en_Bugs => Topic started by: yoyoio on March 24, 2005, 06:11:02 PM

Title: File "-q" [SOLVED]
Post by: yoyoio on March 24, 2005, 06:11:02 PM
I don't know if this is a bug but the filename is curious for me.

when aplying changes with amuleweb (amuled running) a filename "-q"  is created in .aMule directory.

the contents are these


[Webserver]
UseGzip=1
PageRefreshTime=120
GraphHeight=149
GraphWidth=500
GraphScale=3


AmuleCVS today and older (i saw this file in the past, but I think that I misstype something)
Title: Re: File "-q" [SOLVED]
Post by: stefanero on March 24, 2005, 07:52:35 PM
hum files does not get created here...could you specify what you changed?
and maybe post an
ls
in the .aMule directory...

thnx
Title: Re: File "-q" [SOLVED]
Post by: yoyoio on March 24, 2005, 08:39:14 PM
Perhaps is my fault, I usually launch amuleweb -f -q  ......

-f [file] -q  .....

sorry  :]

From man amuleweb

    -f, --config-file=
              Usar el arhivo de configuracion indicado.  Por defecto, ~/.aMule/remote.conf


but amuleweb --help shows:

 -f, --config-file=       Read configuration from file.

and

 amuleweb -f
Option 'f' requires a value.

so man page is not correct...
Title: Re: File "-q" [SOLVED]
Post by: yoyoio on March 24, 2005, 09:11:58 PM
and still my fault,

 -f, --config-file=.....defaults  ~/.aMule/remote.conf

means that if no "-f" is given it takes ~/.aMule/remote.conf and it doesn't mean "give and empty value to -f parameter......"

so sorry again.


Perhaps amuleweb -f should give an error message and not take  as a value.
Title: Re: File "-q" [SOLVED]
Post by: stefanero on March 24, 2005, 09:18:57 PM
so it works now like you want it to?

what you also can do is basically look at teh example of the man page, you can write your remote.conf with the options you want, or edit it the way you like. and then simple type
amuleweb -q OR amuleweb -q &

and it will read the config file without any problems. so in most cases no need for the -f option, except if you have need for different way of webserver setup

stefanero
Title: Re: File "-q" [SOLVED]
Post by: yoyoio on March 24, 2005, 09:40:05 PM
Yes, it do.

I had remote.conf created and amuleweb without "-f" works for me.

Thank you  :)