gnunet-testing-run-service.1 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .\" This file is part of GNUnet.
  2. .\" Copyright (C) 2001-2019 GNUnet e.V.
  3. .\"
  4. .\" Permission is granted to copy, distribute and/or modify this document
  5. .\" under the terms of the GNU Free Documentation License, Version 1.3 or
  6. .\" any later version published by the Free Software Foundation; with no
  7. .\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
  8. .\" copy of the license is included in the file
  9. .\" FDL-1.3.
  10. .\"
  11. .\" A copy of the license is also available from the Free Software
  12. .\" Foundation Web site at http://www.gnu.org/licenses/fdl.html}.
  13. .\"
  14. .\" Alternately, this document is also available under the General
  15. .\" Public License, version 3 or later, as published by the Free Software
  16. .\" Foundation. A copy of the license is included in the file
  17. .\" GPL3.
  18. .\"
  19. .\" A copy of the license is also available from the Free Software
  20. .\" Foundation Web site at http://www.gnu.org/licenses/gpl.html
  21. .\"
  22. .\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
  23. .\"
  24. .Dd August 25, 2013
  25. .Dt GNUNET-TESTING-RUN-SERVICE 1
  26. .Os
  27. .Sh NAME
  28. .Nm gnunet-testing-run-service
  29. .Nd command line tool to start a service for testing
  30. .Sh SYNOPSIS
  31. .Nm
  32. .Op Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME
  33. .Op Fl h | -help
  34. .Op Fl s Ar SERVICE | Fl -service= Ns Ar SERVICE
  35. .Sh DESCRIPTION
  36. .Nm
  37. is a command line tool to start a service for testing.
  38. It starts a peer, running only the service specified on the command line, outputs the path to the temporary configuration file to stdout.
  39. .Pp
  40. The peer will run until this program is killed, or stdin is closed.
  41. When reading the character 'r' from stdin, the running service is restarted with the same configuration.
  42. .Pp
  43. This executable is intended to be used by gnunet-java, in order to reliably start and stop services for test cases.
  44. .Bl -tag -width indent
  45. .It Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME
  46. Name of the template configuration file to use (optional).
  47. .It Fl h | -help
  48. Print short help on options.
  49. .It Fl s Ar SERVICE | Fl -service= Ns Ar SERVICE
  50. Name of the service to run.
  51. .El
  52. .Sh SEE ALSO
  53. The full documentation for gnunet is maintained as a Texinfo manual.
  54. If the
  55. .Xr info 1
  56. and gnunet programs are properly installed at your site, the command
  57. .Pp
  58. .Dl info gnunet
  59. .Pp
  60. should give you access to the complete handbook,
  61. .Pp
  62. .Dl info gnunet-c-tutorial
  63. .Pp
  64. will give you access to a tutorial for developers.
  65. .sp
  66. Depending on your installation, this information is also available in
  67. .Xr gnunet 7 and
  68. .Xr gnunet-c-tutorial 7 .
  69. .\".Sh HISTORY
  70. .\".Sh AUTHORS
  71. .Sh BUGS
  72. Report bugs by using
  73. .Lk https://bugs.gnunet.org
  74. or by sending electronic mail to
  75. .Aq Mt gnunet-developers@gnu.org .