Add apache.stop()
function
This commit is contained in:
parent
baea97957c
commit
8e34ee2f17
|
@ -136,3 +136,10 @@ def restart(c):
|
|||
Restart the Apache web service
|
||||
"""
|
||||
c.sudo('systemctl restart apache2.service')
|
||||
|
||||
|
||||
def stop(c):
|
||||
"""
|
||||
Stop the Apache web service
|
||||
"""
|
||||
c.sudo('systemctl stop apache2.service')
|
||||
|
|
Loading…
Reference in a new issue