gnunet-arm1
Control gnunet services
Usage
gnunet-arm [{-c
FILENAME | --config=FILENAME}]
[{-d | --delete}]
[{-e | --end}]
[{-E | --no-stderr}]
[{-h | --help}]
[{-i
SERVICE | --init=SERVICE}]
[{-I | --info}]
[{-k
SERVICE | --kill=SERVICE}]
[{-l
FILENAME | --logfile=FILENAME}]
[{-L
LOGLEVEL | --loglevel=LOGLEVEL}]
[{-m | --monitor}]
[{-O | --no-stdout}]
[{-q | --quiet}]
[{-r | --restart}]
[{-s | --start}]
[{-T
-DELAY | --timeout=TIMEOUT}]
[{-v | --version}]
Overview
gnunet-arm can be used to start or stop GNUnet services, including the ARM service itself. The ARM service is a supervisor for GNUnet's service processes. ARM starts services on-demand or as configured and restarts them if they crash.
-cFILENAME |--config=FILENAME-
Use the configuration file FILENAME.
-
-d | --delete -
Delete configuration file and directory on exit.
-
-e | --end -
Shutdown all GNUnet services (including ARM itself). Running "gnunet-arm -e" is the usual way to shutdown a GNUnet peer.
-
-E | --no-stderr -
Don't let gnunet-arm inherit stderr (standard error).
-
-h | --help -
Print short help on options.
-iSERVICE |--init=SERVICE-
Starts the specified SERVICE if it is not already running. More specifically, this makes the service behave as if it were in the default services list.
-
-I | --info -
List all running services.
-kSERVICE |--kill=SERVICE-
Stop SERVICE if it is running. While this will kill the service right now, the service may be restarted immediately if other services depend on it (the service is then started 'on-demand'). If the service used to be a 'default' service, its default-service status will be revoked. If the service was not a default service, it will just be (temporarily) stopped, but could be re-started on-demand at any time.
-lFILENAME |--logfile=FILENAME-
Write logs to FILENAME.
-LLOGLEVEL |--loglevel=LOGLEVEL-
Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
-
-m | --monitor -
Monitor service activity of ARM. In this mode, the command will not terminate until the user presses CTRL-C (thus sending SIGTERM or SIGINT).
-
-O | --no-stdout -
Don't let gnunet-arm inherit standard output
-
-q | --quiet -
Don't print status messages.
-
-r | --restart -
Stop and start all GNUnet default services.
-
-s | --start -
Start all GNUnet default services on this system (and also ARM). Naturally, if a service is demanded by a default service, it will then also be started. Running "gnunet-arm -s" is the usual way to start a GNUnet peer.
-T-DELAY|--timeout=DELAY-
Exit with error status if operation does not finish after DELAY, provided in number of microseconds.
-
-v | --version -
Print GNUnet version number.
Examples
Start the gnunet-arm for the user:
gnunet-arm -s
Stop the gnunet-arm for the user:
$ gnunet-arm -e
Releases
7 releases since Debian 7 (Wheezy); the text changed 2 times.
--delete since Debian 11 (Bullseye);
--monitor since Debian 8 (Jessie);
--no-stderr since Debian 11 (Bullseye);
--no-stdout since Debian 11 (Bullseye);
--quiet since Debian 11 (Bullseye);
--restart since Debian 11 (Bullseye);
-E since Debian 11 (Bullseye);
-O since Debian 11 (Bullseye);
-d since Debian 11 (Bullseye);
-m since Debian 8 (Jessie);
-q since Debian 11 (Bullseye);
-r since Debian 11 (Bullseye).
--config until Debian 10 (Buster);
--init until Debian 10 (Buster);
--kill until Debian 10 (Buster);
--loglevel until Debian 10 (Buster);
-L until Debian 10 (Buster);
-c until Debian 10 (Buster);
-i until Debian 10 (Buster);
-k until Debian 10 (Buster).