mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-08 05:10:20 +01:00
fix open webserver port < 1024 as non privileged user
This commit is contained in:
@@ -113,6 +113,9 @@ public class ScmServerDaemon implements Daemon
|
||||
public void init(DaemonContext context) throws DaemonInitException, Exception
|
||||
{
|
||||
daemonArgs = context.getArguments();
|
||||
// initialize web server and open port. We have to do this in the init
|
||||
// method, because this method is started by jsvc with super user privileges.
|
||||
webserver.init();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user