mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Add sudo and examples
This commit is contained in:
parent
379834bf72
commit
936c570e1f
3 changed files with 15 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue