Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[demons]utiliser start-stop-daemon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
stpierre1982
n00b
n00b


Joined: 25 Aug 2005
Posts: 47

PostPosted: Tue Jun 13, 2006 6:27 pm    Post subject: [demons]utiliser start-stop-daemon Reply with quote

hello. je sais que la question peut parraitre débile, mais j'aurai besoin de savoir comment utiliser start-stop-daemon avec un utilisateur donné?

mon problème étant le suivant :

je cherche a demarrer amule avec un utilisateur créé spécialemnt pour cela.
Mais lorque j'essaye,

start-stop-daemon --start --exec /usr/local/bin/amuled --user emule --chuid emule

il change le l'utilisateur, mais pas l'emplacement du dossier de l'utilisateur. il reste "/root/"
il prend "/root/.aMuled/" comme dossier utilisateur amule....

donc, je vois ca comme solution :

su emule
start-stop-daemon --start --exec "/usr/local/bin/amuled"

mais voila, l'utilisateur emule peut pas executer start-stop-daemon

qq a une idée???

merci
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Tue Jun 13, 2006 7:01 pm    Post subject: Reply with quote

Et avec le use amuled de amule, ça serai pas mieux ? T'aura un script tout fait ...
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Jun 13, 2006 7:07 pm    Post subject: Reply with quote

ça te dérangerait de pas dupliquer les threads..

https://forums.gentoo.org/viewtopic-t-469738-start-0-postdays-0-postorder-asc-highlight-amuled.html

sinon tu fais un cd avant dans le script non?
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
killerwhile
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 130
Location: Switzerland

PostPosted: Tue Jun 13, 2006 7:07 pm    Post subject: Reply with quote

et avec

Code:
su emule
/sbin/start-stop-daemon --start --exec "/usr/local/bin/amuled"


?
_________________
Je motive bien mes collègues. Quand je suis au travail, ils doivent toujours travailler le double -- Homer Simpson.
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Wed Jun 14, 2006 12:30 am    Post subject: Reply with quote

1)

sireyessire wrote:
ça te dérangerait de pas dupliquer les threads..

https://forums.gentoo.org/viewtopic-t-469738-start-0-postdays-0-postorder-asc-highlight-amuled.html

sinon tu fais un cd avant dans le script non?


++ rogntdidjiou!

2) http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=2&chap=4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum