Quoting Dirk Heinrichs <dirk.heinri...@altum.de>:

You don't let k5start start your zz daemon. IOW: You don't do the "start" part of k5start, only the "k5" part.

Okay, how about this?

  start-stop-daemon --start --pidfile /run/zz/k5start-zz.pid \
    --chuid $USER:$GROUP --exec /usr/bin/k5start -- -b \
    -p /run/zz/k5start-zz.pid \
    -K 10 -l 24h -k /tmp/krb5cc_107 -o zz \
    -L -t -U -f /etc/krb5-zz.keytab \
    $($DAEMON $DAEMON_ARGS) || return 2

This still produces a second PID files, /run/zz/k5start-zz.pid, in addition the one specified for the zz daemon in $DAEMON_ARGS, so one start-stop-daemon invocation is used to shut the zz process and the other k5start.

Cheers,

Jaap
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to