Skip to content

Commit

Permalink
fix: jans-linux-setup --add-module
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Apr 28, 2022
1 parent 8e95b7a commit 4f6b8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/jetty.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def installJettyService(self, serviceConfiguration, supportCustomizations=False,
jettyEnv = os.environ.copy()
jettyEnv['PATH'] = '%s/bin:' % Config.jre_home + jettyEnv['PATH']

self.run([Config.cmd_java, '-jar', '%s/start.jar' % self.jetty_home, 'jetty.home=%s' % self.jetty_home, 'jetty.base=%s' % jettyServiceBase, '--add-to-start=%s' % jettyModules], None, jettyEnv)
self.run([Config.cmd_java, '-jar', '%s/start.jar' % self.jetty_home, 'jetty.home=%s' % self.jetty_home, 'jetty.base=%s' % jettyServiceBase, '--add-module=%s' % jettyModules], None, jettyEnv)
self.run([paths.cmd_chown, '-R', 'jetty:jetty', jettyServiceBase])

# make variables of this class accesible from Config
Expand Down

0 comments on commit 4f6b8a9

Please sign in to comment.