Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cookbooks/nginx/templates/default/nginx.init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ reload() {
}

# See how we were called.
case "$1" in
case "$1" in
start)
start
;;
Expand All @@ -86,7 +86,7 @@ case "$1" in
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
exit 1
exit 1
esac

exit $?
2 changes: 1 addition & 1 deletion cookbooks/nodebox-production/templates/default/upstart.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ start on startup
stop on shutdown

script
sudo -u <%= node[:node_user] %> <%= node[:nodejs][:dir] %>/bin/node <%= node[:app][:path] %>/app.js >> /var/log/<%= node[:app][:name] %>.log 2>&1
sudo -u <%= node[:node_user] %> <%= node[:nodejs][:dir] %>/bin/node <%= node[:app][:path] %>/app.js >> /var/log/<%= node[:app][:name] %>.log 2>&1
end script
2 changes: 1 addition & 1 deletion cookbooks/nodejs/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Include the nodejs recipe to install node from source on your system:
include_recipe "nodejs"

Include the npm recipe to install npm:

include_recipe "nodejs::npm"

= LICENSE and AUTHOR:
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/nodejs/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/nodejs/recipes/npm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down