chiark
/
gitweb
/
~mdw
/
cryptomail
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6253ed0
)
userv: Tidy up a bit. Require file descriptors to be right.
master
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 22 Mar 2006 19:11:01 +0000
(19:11 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 24 Mar 2006 22:30:55 +0000
(22:30 +0000)
.userv/rc
patch
|
blob
|
blame
|
history
diff --git
a/.userv/rc
b/.userv/rc
index 84843a34dead5b409b68436a92dc172ce2fd33d0..c1af7ad0d59d0c2fdd072cb906e6bbb4f297ee02 100644
(file)
--- a/
.userv/rc
+++ b/
.userv/rc
@@
-1,33
+1,22
@@
### Userv configuration for cryptomail
### Userv configuration for cryptomail
+require-fd 0 read
+require-fd 1-2 write
+reject-fd 3-
+no-suppress-args
+
if glob service generate
if glob service generate
- no-suppress-args
execute bin/uwrap generate -f %@cryptomail.distorted.org.uk
execute bin/uwrap generate -f %@cryptomail.distorted.org.uk
-fi
-
-if glob service info
- no-suppress-args
+elif glob service info
execute bin/uwrap info
execute bin/uwrap info
-fi
-
-if glob service revoke
- no-suppress-args
+elif glob service revoke
execute bin/uwrap revoke
execute bin/uwrap revoke
-fi
-
-if glob service list
- no-suppress-args
+elif glob service list
execute bin/uwrap list
execute bin/uwrap list
-fi
-
-if glob service help
- no-suppress-args
+elif glob service help
execute bin/uwrap help
execute bin/uwrap help
-fi
-
-if ( glob service addrcheck:cryptomail-default
- & glob calling-user qmaild
- )
- no-suppress-args
+elif ( glob service addrcheck:cryptomail-default
+ & glob calling-user qmaild
+ )
execute bin/cryptomail addrcheck --
fi
execute bin/cryptomail addrcheck --
fi