Skip to content

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