[Initng] Initng and aMuled

Matteo Landi matteo.landi at email.it
Fri Jun 8 20:43:13 CEST 2007


well! That was finally the solution! By the way i think that because of
the fact that i gotta set my user and group, it could no be so usefull
to insert the amuled.i in the ifiles package..anyway..i attached the i
file...make of it what you want!
Thank you very much for the helps!
M@




On Thu, 2007-06-07 at 23:04 -0300, Ismael Luceno wrote:
> El jueves,  7 de junio de 2007 21:56 +0200, Matteo Landi
> <matteo.landi at email.it> escribió:
> > well...typing amuled on the tty, can't do nothing with those shell,
> > because i don't turn back on the prompt...so it doesn't forw isn't
> > it? :D By the way it doesn't start with initng.. where i can find a log
> > of the processes? maybe it could help us, uh?
> > M@
> > 
> 
> That's probably because it needs to run as your user to get the config, and
> other stuff, so you need to change the uid and gid:
> 
> daemon daemon/amuled {
>         need = system/bootmisc virtual/network;
> -->     suid = <your user>;
> -->	sgid = <your group>;
>         exec daemon = /usr/bin/aMuled;
> }
-------------- next part --------------
#!/sbin/itype
# This is a i file, used by initng parsed by install_service

# NAME: aMule-Deamon
# DESCRIPTION: 
# WWW: 

daemon daemon/amuled {
        need = system/bootmisc virtual/net;
	suid = <your_user>;
	sgid = <your_user>;
        exec daemon = /usr/bin/amuled;
}


More information about the Initng mailing list