Example #1
0
def stop(ctx, **kwargs):
    """
    stop a vaping process
    """
    update_context(ctx, kwargs)

    daemon = mk_daemon(ctx)
    daemon.stop()
Example #2
0
def stop(ctx, **kwargs):
    """
    stop a vaping process
    """
    update_context(ctx, kwargs)

    daemon = vaping.daemon.Vaping(ctx.config)
    daemon.stop()
Example #3
0
def restart(ctx, **kwargs):
    """
    restart a vaping process
    """
    update_context(ctx, kwargs)

    daemon = mk_daemon(ctx)
    daemon.stop()
    daemon.start()
Example #4
0
def restart(ctx, **kwargs):
    """
    restart a vaping process
    """
    update_context(ctx, kwargs)

    daemon = vaping.daemon.Vaping(ctx.config)
    daemon.stop()
    daemon.start()