Changeset - 8e34ee2f17c6
[Not reviewed]
0 1 0
Lance Edgar - 5 years ago 2019-09-26 22:01:45
lance@edbob.org
Add `apache.stop()` function
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general) First comment
rattail_fabric2/apache.py
Show inline comments
 
@@ -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')
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now