debian-mirror-gitlab/debian/gems-compat/railties-5.1.7/lib/rails/tasks/restart.rake
2019-08-02 22:44:51 +05:30

8 lines
171 B
Ruby

desc "Restart app by touching tmp/restart.txt"
task :restart do
verbose(false) do
mkdir_p "tmp"
touch "tmp/restart.txt"
rm_f "tmp/pids/server.pid"
end
end