Skip to content

Commit

Permalink
Use systemd in deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKvalheim committed Sep 30, 2020
1 parent 4e15c6f commit f3259b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
invoke :'rails:assets_precompile'

to :launch do
queue "sudo /etc/init.d/apache2 restart"
queue "sudo systemctl restart apache2.service"
# queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job start"
end

Expand Down

0 comments on commit f3259b3

Please sign in to comment.