aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: File "-q" [SOLVED]  (Read 2841 times)

yoyoio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
File "-q" [SOLVED]
« 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)
« Last Edit: March 24, 2005, 09:45:47 PM by yoyoio »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: File "-q" [SOLVED]
« Reply #1 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

yoyoio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: File "-q" [SOLVED]
« Reply #2 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...
Logged

yoyoio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: File "-q" [SOLVED]
« Reply #3 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: File "-q" [SOLVED]
« Reply #4 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

yoyoio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: File "-q" [SOLVED]
« Reply #5 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  :)
Logged