def maintenance_off():
 print green(('%s: Disabling Maintenance Mode' % env.host))
 run("sed -i 's|#0-59/1 * * * * web2py|0-59/1 * * * * web2py|' /etc/crontab", pty=True)
 run('a2dissite maintenance', pty=True)
 run(('a2ensite %s' % env.host), pty=True)
 reload()

def maintenance_off ( ) : print green ( ( '%s: Disabling Maintenance Mode' % env . host ) ) run ( "sed -i 's|#0-59/1 * * * * web2py|0-59/1 * * * * web2py|' /etc/crontab" , pty = True ) run ( 'a2dissite maintenance' , pty = True ) run ( ( 'a2ensite %s' % env . host ) , pty = True ) reload ( )
disable maintenance mode .