Add apache.stop() function

This commit is contained in:
Lance Edgar 2019-09-26 22:01:45 -05:00
parent baea97957c
commit 8e34ee2f17

View file

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