def stop(ctx, **kwargs): """ stop a vaping process """ update_context(ctx, kwargs) daemon = mk_daemon(ctx) daemon.stop()
def stop(ctx, **kwargs): """ stop a vaping process """ update_context(ctx, kwargs) daemon = vaping.daemon.Vaping(ctx.config) daemon.stop()
def restart(ctx, **kwargs): """ restart a vaping process """ update_context(ctx, kwargs) daemon = mk_daemon(ctx) daemon.stop() daemon.start()
def restart(ctx, **kwargs): """ restart a vaping process """ update_context(ctx, kwargs) daemon = vaping.daemon.Vaping(ctx.config) daemon.stop() daemon.start()