Installing as a Service

To install the application as a service, navigate to the installation directory in a Terminal window and execute the command bin/nifi-registry.sh install to install the service with the default name nifi-registry. To specify a custom name for the service, execute the command with an optional second argument that is the name of the service. For example, to install NiFi Registry as a service with the name flow-registry, use the command bin/nifi-registry.sh install flow-registry.

Once installed, the service can be started and stopped using the appropriate commands, such as sudo service nifi-registry start and sudo service nifi-registry stop. Additionally, the running status can be checked via sudo service nifi-registry status.