def act(action): res = de(func, action, pidfile, **std) return res
def act(action): res = de(repeat(sleep_time, times)(func), action, pidfile, **std) return res