Skip to content

Commit

Permalink
Added rake tasks for server management
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelfaure committed Sep 19, 2018
1 parent fdb9be4 commit 7370d27
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/tasks/server.rake
@@ -0,0 +1,11 @@
namespace :server do
desc 'Test self server to see if it works'
task test_self: :environment do
TestSelfServer.call
end

desc 'Switch fallback IP to self'
task switch: :environment do
SwitchServer.call
end
end

0 comments on commit 7370d27

Please sign in to comment.