aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-20 20:30:37 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-20 20:30:37 -0800
commit4f863ccc9531130be3f4aecea341a0e8a66c6f8c (patch)
tree392e4953a3c2c6b77e2aeb8473c2ee17aa35b3a5 /config
parenta3ee976840e97d37022ec117bae09fef25ac4385 (diff)
wallet-backend gets the third store argument from stdin if missing
If there is no third argument to store, read it from standard input instead. This is the preferred way of running wallet-backend, using stdin=last support from remctl 2.14 and later. Receiving the third argument as a regular argument continues to be supported for backward compatibility.
Diffstat (limited to 'config')
-rw-r--r--config/wallet2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/wallet b/config/wallet
index 2e0b142..06dc39d 100644
--- a/config/wallet
+++ b/config/wallet
@@ -3,5 +3,5 @@
# This is a remctld configuration fragment to run wallet-backend, which
# implements the server side of the wallet system.
-wallet store /usr/sbin/wallet-backend logmask=4 ANYUSER
+wallet store /usr/sbin/wallet-backend stdin=4 ANYUSER
wallet ALL /usr/sbin/wallet-backend ANYUSER