fix trac reference to github
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user