Details
Description
The wrapper init script karaf-service cannot start the service if the RUN_AS_USER variable is set to an account
without a login shell (e.g. /sbin/nologin).
The error message returned is: "This account is currently not available."
This patch adds the -s argument to the su command in the karaf-service script to provide a shell (/bin/sh)
for executing the command.