Re: Question about cvm-chain module
"David J. Weller-Fahy" <[email protected]> Sun, 24 Jul 2005 23:52:09 +0201
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
* David J. Weller-Fahy <[email protected]> [2005-07-24 21:42 +0200]: > One of the problems is I'm not certain whether it's supposed to be > used as a service like cvm-unix, or as part of the command line like > cvm-checkpassword. I found [1], which indicates that cvm-chain is run as a service, similar to cvm-unix. However, using the same run script used in the post, I simply get my startup echo's repeating once per second, and no indication of the cvm-chain module actually starting. I've also tried using DEBUG=1 in the script, with no luck.a I'll attach my run script. [1]: <http://lists.untroubled.org/?list=bgware&cmd=showmsg&msgnum=4238> The versions I'm using are: bglibs-1.024 (modified as indicated in [2]) cvm-0.71 [2]: <http://lists.untroubled.org/?list=bgware&cmd=showmsg&msgnum=4586> So, my revised question is: Does anyone see anything in the run script that could prevent this service from functioning as it should? And if so, could you let me know what I'm doing wrong? Regards, -- dave [ please don't CC me ] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
run
(text/plain, 788 B)
#!/bin/sh
echo CLEANED.3283
exit
#!/bin/sh
# cvm-chain/run
# daemontools run script for cvm-chain authentication service
# CVM vmailmgr authentication
# ===
DEBUG=1
CVM_SOCKET="/tmp/.cvm-chain"
CVM_CHAIN0="/usr/local/bin/cvm-unix"
CVM_CHAIN1="/usr/local/bin/cvm-vmailmgr"
exec 2>&1
echo "*** Starting cvm-chain service..."
echo "*** >> configured to chain the following:"
echo "*** >> CVM_CHAIN0=${CVM_CHAIN0}"
echo "*** >> CVM_CHAIN1=${CVM_CHAIN1}"
exec /usr/local/bin/softlimit -m 9000000 \
/usr/local/bin/cvm-chain cvm-local:/tmp/.cvm-chain
#exec /usr/local/bin/cvm-chain cvm-local:${CVM_SOCKET}
#exec /usr/local/bin/softlimit -m 9000000 \
# /usr/local/bin/envdir /service/cvm-chain/env \
# /usr/bin/cvm-chain cvm-local:/tmp/.cvm-chain 2>&1
### that's all, folks!