trabian / chef-forever Goto Github PK
View Code? Open in Web Editor NEWChef cookbook for setting up node apps using forever.
License: MIT License
Chef cookbook for setting up node apps using forever.
License: MIT License
Was there a reason for running each service as root even though their is an attribute for user and group?
In the templates/default/init.d.erb template file there is these lines
touch $logfile
chown $user $logfile
touch $pidfile
chown $user $pidfile
...
daemon --user=root
<%= @env_options %> $forever start --pidFile $pidfile -l $logfile -p $forever_dir -a -d -c $COMMAND --sourceDir $SOURCE_DIR $SOURCE_FILE $SCRIPT_OPTIONS
RETVAL=$?
where --user is hardcoded as root and doesn't use the $user variable. Also even though the ownership should be changed to the $user variable it is still owned by root.
This is a simple enough change on my end to match what I was looking for but I just want to verify there wasnt a major reason to always set it to root user.
the pidFile option in daemon available in ubuntu is actually pidfile (lower case)
Hi, thanks for this cookbook! Do you mind pushing it to the community website?
This would make the download faster. Also, you'll be able to pin the stable version up there and continue working on master.
It's now dead simple to push it thanks to the new emeril gem (http://fnichol.github.io/emeril/).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.