Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running in a not daemon way #3

Closed
kluthen opened this issue Jan 2, 2015 · 3 comments
Closed

Running in a not daemon way #3

kluthen opened this issue Jan 2, 2015 · 3 comments

Comments

@kluthen
Copy link
Contributor

kluthen commented Jan 2, 2015

I was wondering if there was some built in way to have it running in foreground instead ?
Otherwise I'll manage one
Thanks !

@stilliard
Copy link
Owner

Hi @kluthen ,
That's a great idea, now that docker has "docker exec" we can stop it from starting the bash process in the foreground and enter the container with bash via docker exec.
I can work on this later, but feel free to open a pull request now if you'd like?

@kluthen
Copy link
Contributor Author

kluthen commented Jan 2, 2015

I must say I don’t know much about the whole thing (docker, pure-ftp …)
I’ll try to have it run foreground, if I succeed i’ll keep you informed :)

As for the usage, it was mostly to have it supervised by systemd ^^

Thanks for your quick reply !

Bastien

Le 2 janv. 2015 à 11:15, Andrew Stilliard notifications@github.com a écrit :

Hi @kluthen https://github.com/kluthen ,
That's a great idea, now that docker has "docker exec" we can stop it from starting the bash process in the foreground and enter the container with bash via docker exec.
I can work on this later, but feel free to open a pull request now if you'd like?


Reply to this email directly or view it on GitHub #3 (comment).

@kluthen
Copy link
Contributor Author

kluthen commented Jan 2, 2015

Ah, how devious of you ;)

CMD /usr/sbin/pure-ftpd -c 30 -C 1 -l puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R &
/bin/bash

Guess that explains it :p

I’ll try without if it runs nicely enough

Le 2 janv. 2015 à 11:15, Andrew Stilliard notifications@github.com a écrit :

Hi @kluthen https://github.com/kluthen ,
That's a great idea, now that docker has "docker exec" we can stop it from starting the bash process in the foreground and enter the container with bash via docker exec.
I can work on this later, but feel free to open a pull request now if you'd like?


Reply to this email directly or view it on GitHub #3 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants