plan9fox/sys/src/cmd/plumb
qwx e279699344 plumber: remove $plumbsrv, add optional srvname, usage check
Plumber both posts a service to /srv and sets a $plumbsrv environment
variable.  Our libplumb no longer uses $plumbsrv and nothing else
does.  It's a silly hack;  rc doesn't update /env immediately, and
scripts, which for instance set up subrios, cannot rely on it to
clean up the plumber at the end.

Instead, add the option to specify a srvname, actually check for some
common errors and print a usage string.

Thanks to Ori for input and a preliminary patch.
2021-09-10 21:03:47 +00:00
..
fsys.c plumber: remove $plumbsrv, add optional srvname, usage check 2021-09-10 21:03:47 +00:00
match.c plumber: fix substrings in match rules 2021-04-21 08:28:32 +02:00
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
plumb.c Backed out changeset 2737b9af622b 2020-04-25 10:57:17 -07:00
plumber.c plumber: remove $plumbsrv, add optional srvname, usage check 2021-09-10 21:03:47 +00:00
plumber.h plumber: remove $plumbsrv, add optional srvname, usage check 2021-09-10 21:03:47 +00:00
rules.c plumber: open rule files as OCEXEC, to avoid leaking them to sub commands 2020-12-29 18:45:42 +01:00