fix trac reference to github

This commit is contained in:
albert
2013-02-20 22:18:33 -05:00
parent 77124bb889
commit d5c3e10d57
2 changed files with 6 additions and 3 deletions

View File

@@ -58,7 +58,7 @@
<li><h1>Comments</h1></li>
<li><%= link_to("Help", wiki_pages_path(:title => "help:comments")) %></li>
<li><%= link_to("Listing", comments_path) %></li>
<li><%= link_to("Trac", "http://trac.donmai.us") %></li>
<li><%= link_to("Github", "https://github.com/r888888888/danbooru") %></li>
</ul>
<ul>
<li><h1>Forum</h1></li>

View File

@@ -82,11 +82,14 @@ namespace :deploy do
namespace :nginx do
desc "Shut down Nginx"
task :stop do
sudo "for i in `pgrep -f nginx` ; do kill -SIGTERM $i ; done"
pids = capture("pgrep -f nginx").scan(/\d+/)
pids.each do |pid|
sudo "kill -SIGTERM #{pid}"
end
end
desc "Start Nginx"
task :stop do
task :start do
sudo "/etc/init.d/nginx start"
end
end