Lines Matching refs:docmd
63 static void docmd(struct opts *opts, const char *msg, const char *cmd,
424 docmd(opts, "-a cmd", Sh, "-c", lhs, NULL);
441 docmd(opts, "compress old log (-z flag)", Gzip, "-f", lhs, NULL);
732 docmd(opts, NULL, Touch, fname, NULL, NULL);
733 docmd(opts, NULL, Chown, owner, fname, NULL);
734 docmd(opts, NULL, Chmod, mode, fname, NULL);
743 docmd(opts, "-R cmd", Sh, "-c", fn_s(cmd), NULL);
821 docmd(opts, "-b cmd", Sh, "-c", cmd, NULL);
828 docmd(opts, "verify directory exists", Mkdir, "-p",
842 docmd(opts, "-M cmd", Sh, "-c", fn_s(cmd), NULL);
847 docmd(opts, "rotate log file", Mv, "-f",
991 docmd(opts, msg, Sh, "-c", fn_s(cmd), NULL);
995 docmd(opts, msg, Rm, "-f", fn_s(fnp), NULL);
1001 docmd(struct opts *opts, const char *msg, const char *cmd,