def maintenance_on():
    print(green("%s: Enabling Maintenance Mode" % env.host))
    # Disable Cron
    run("sed -i 's|0-59/1 * * * * web2py|#0-59/1 * * * * web2py|' /etc/crontab", pty=True)
    # Apply temporary Apache config
    run("a2dissite %s" % env.host, pty=True)
    run("a2ensite maintenance", pty=True)
    reload()
Configure parser for this action
dataset/ETHPy150Open sahana/eden/static/scripts/tools/fabfile.py/maintenance_on--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qitoolchain/actions/status.py/configure_parser