Sha256: cc9580ca5b79718ea20a349469e687ad1a3b0dec9a31d44581f1873a65f51ec2

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

desc 'Run by git post-update hook when deployed to a web server'
task :deploy do
	# This task is typiclly run after the site is updated but before the server is restarted.
end

desc 'Restart the application server'
task :restart do
	if falcon = `which falcon`.chomp! and File.exist?("supervisor.ipc")
		sh(falcon, 'supervisor', 'restart')
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
utopia-2.12.4 setup/site/tasks/deploy.rake
utopia-2.12.3 setup/site/tasks/deploy.rake
utopia-2.12.2 setup/site/tasks/deploy.rake
utopia-2.12.1 setup/site/tasks/deploy.rake
utopia-2.12.0 setup/site/tasks/deploy.rake