Add the apache.stop()
convenience function
This commit is contained in:
parent
7590760569
commit
679ffe817c
|
@ -154,3 +154,10 @@ def stop(c):
|
|||
Stop the Apache web service
|
||||
"""
|
||||
c.sudo('systemctl stop apache2.service')
|
||||
|
||||
|
||||
def start(c):
|
||||
"""
|
||||
Start the Apache web service
|
||||
"""
|
||||
c.sudo('systemctl start apache2.service')
|
||||
|
|
Loading…
Reference in a new issue