def maintenance_off():
    print(green("%s: Disabling Maintenance Mode" % env.host))
    # Enable Cron
    run("sed -i 's|#0-59/1 * * * * web2py|0-59/1 * * * * web2py|' /etc/crontab", pty=True)
    # Restore main Apache config
    run("a2dissite maintenance", pty=True)
    run("a2ensite %s" % env.host, pty=True)
    reload()
Disable maintenance mode
dataset/ETHPy150Open sahana/eden/static/scripts/tools/fabfile.py/maintenance_off