We create a specific limited user for execution of our application (call it
appuser) and place the code in the home of that user
(/home/appuser/<appname>/<version>/...) then create init script to setup
and start the app under the same user.  Make sure you setup the user so it
doesn't have SSH rights is a good idea.

 - Jeremy

On Wed, Oct 15, 2014 at 12:03 PM, Clarkie <[email protected]> wrote:

> I'm happy with the installation of nodejs itself; my question is around
> where to put our actual js files.
>
> Does anyone have any suggested locations and reasons why they use them?
>
> We've considered /usr/local and /opt but I'm not a linux or node expert so
> I'd love to hear your thoughts.
>
> Thanks, Clarkie
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/b0bb6702-2bb0-4711-a868-6f59e572dac4%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/b0bb6702-2bb0-4711-a868-6f59e572dac4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAAhs7Eg4j1YtfgD70h%2BEJ1FaTh5FmoLMHBjTsM%2BL9OpcO3Ppug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to