Add the apache.stop() convenience function

This commit is contained in:
Lance Edgar 2020-03-22 15:04:12 -05:00
parent 7590760569
commit 679ffe817c

View file

@ -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')