Add missing --show-trace feature, fix invalid source path

This commit is contained in:
Sander van der Burg 2020-04-14 17:01:35 +02:00 committed by Sander van der Burg
parent 37e9da171e
commit 7fb298b1c5
3 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{port, instanceSuffix ? ""}:
let
webapp = import ../webapp;
webapp = import ../../webapp;
instanceName = "webapp${instanceSuffix}";
in
createManagedProcess {

View File

@ -2,7 +2,7 @@
{port, instanceSuffix ? ""}:
let
webapp = import ../webapp;
webapp = import ../../webapp;
instanceName = "webapp${instanceSuffix}";
in
createManagedProcess {

View File

@ -21,6 +21,7 @@ Options:
--force-disable-user-change
Forces to not create users, groups or change user
permissions
--show-trace Shows a trace of the output
-h, --help Shows the usage of this command
Environment:
@ -37,7 +38,7 @@ EOF
# Parse valid argument options
PARAMS=`@getopt@ -n $0 -o h -l state-dir:,runtime-dir:,log-dir:,tmp-dir:,force-disable-user-change,help -- "$@"`
PARAMS=`@getopt@ -n $0 -o h -l state-dir:,runtime-dir:,log-dir:,tmp-dir:,force-disable-user-change,show-trace,help -- "$@"`
if [ $? != 0 ]
then
@ -67,6 +68,9 @@ do
--force-disable-user-change)
forceDisableUserChangeArg="--force-disable-user-change"
;;
--show-trace)
showTraceArg="--show-trace"
;;
-h|--help)
showUsage
exit 0