Add sudo and examples

This commit is contained in:
Martin Lensment 2015-05-15 17:20:59 +03:00
parent 379834bf72
commit 936c570e1f
3 changed files with 15 additions and 21 deletions

View file

@ -152,7 +152,7 @@ class Certificate < ActiveRecord::Base
end
def reload_apache
`/etc/init.d/apache2 reload`
`sudo /etc/init.d/apache2 reload`
end
end
end