aMule Bug Tracker - aMule
View Issue Details
0000383aMuleFeature Requestpublic2005-04-21 17:132005-04-22 13:57
Hetfield 
Kry 
normalfeaturealways
closedreopened 
SVN 
 
0000383: daemons should go in background and leave the console free.
as summary reported
No tags attached.
Issue History
2005-04-21 17:13HetfieldNew Issue
2005-04-21 21:00XaignarNote Added: 0000882
2005-04-22 00:01KryStatusnew => assigned
2005-04-22 00:01KryAssigned To => Kry
2005-04-22 00:01KryStatusassigned => closed
2005-04-22 00:01KryNote Added: 0000884
2005-04-22 11:30HetfieldStatusclosed => feedback
2005-04-22 11:30HetfieldResolutionopen => reopened
2005-04-22 11:30HetfieldNote Added: 0000894
2005-04-22 12:06XaignarNote Added: 0000896
2005-04-22 12:42HetfieldNote Added: 0000898
2005-04-22 13:57KryStatusfeedback => closed
2005-04-22 13:57KryNote Added: 0000902

Notes
(0000882)
Xaignar   
2005-04-21 21:00   
If anything, there should at least be a command-line flag for triggering that behavior, though perhaps the start-stop-daemon utility might do the job.
(0000884)
Kry   
2005-04-22 00:01   
A script is the proper way to do that, not the app itself. Among other things, is absolutely impossible to do that on a proper multiplatform way. So, I close this and wait for someone to write a linux script for it :)
(0000894)
Hetfield   
2005-04-22 11:30   
no wait.

you can't demand script to do that, stop-start-daemon is a gentoo thing, and however it's not the right way to set.

every daemon (ex: snort) has a command line option (like
-d o -D) to switch to demonized way.

i think it's very very useful and needed for amule.
script demanding may be too subjected to distro and os.
(0000896)
Xaignar   
2005-04-22 12:06   
"stop-start-daemon is a gentoo thing"
No, it's not.
(0000898)
Hetfield   
2005-04-22 12:42   
ok...but it's the same problem...depending on an external app that we can bypass
(0000902)
Kry   
2005-04-22 13:57   
start-stop daemon is something linux has since years ago. Check i.e. /etc/init.d on debian.

We can't make a switch because that option can't work multiplatform way. So no option.