chiark
/
gitweb
/
~ian
/
userv-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Found in chiark:/etc/userv/services.d/www-cgi
[userv-utils.git]
/
www-cgi
/
www-cgi
diff --git a/www-cgi/www-cgi
b/www-cgi/www-cgi
new file mode 100644
(file)
index 0000000..
294a34d
--- /dev/null
+++ b/
www-cgi/www-cgi
@@ -0,0
+1,9
@@
+#
+if ( grep service-user-shell /etc/shells
+ & glob calling-user www
+ )
+ reset
+ no-set-environment
+ no-suppress-args
+ execute /usr/local/lib/user-cgi/target public-cgi
+fi