Chapter 21. The wrapper:install Command

The wrapper:install command installs Red Hat JBoss Fuse as a system service.
Important
The wrapper:install Karaf console command—for installing JBoss Fuse as a service—is deprecated since JBoss Fuse 6.3 and will be removed in a future release of JBoss Fuse. To install the Apache Karaf container as a service, it is recommended that you use the new karaf-service-*.sh scripts from the bin/contrib directory instead.
Note
This feature is not installed by default. To install the wrapper shell, run the following command:
JBossFuse:karaf@root:> features:install wrapper

21.1. wrapper:install

Abstract

installs the container as a system service in the operating system

Synopsis

wrapper:install [ --help ] [[ -s ] | [ --start-type ] mode] [[ -n ] | [ --name ] serviceName] [[ -d ] | [ --display ] displayName] [[ -D ] | [ --description ] description]

Arguments

This command takes the following arguments.

Table 21.1. wrapper:install Arguments

ArgumentInterpretation
--help Displays the online help for this command
-s, --start-type The mode in which the service is installed, either AUTO_START or DEMAND_START; the default is AUTO_START
-n, --name The service name used when installing the service; the default is karaf
-d, --display The display name of the service
-D, --description The description of the service