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

Feature/deploy cleanup #3

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Feature/deploy cleanup #3

wants to merge 14 commits into from

Conversation

allouis
Copy link
Member

@allouis allouis commented Aug 14, 2014

Moving things into functions and giving main() more control

Also rename to restart_jsbin as to not conflict with global restart command
We also don't call main from here anymore, this function will be called by main
and if we need to switch users we rerun the script as correct user and exit
when the sub process returns
We also call main at the bottom of the file with the ARGS global
Move the spawning of sub process into new function run_as_www()
@remy
Copy link
Member

remy commented Aug 15, 2014

As discussed, needs work.

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

Successfully merging this pull request may close these issues.

2 participants