Univention Bugzilla – Bug 37604
start univention-cli-server in foreground
Last modified: 2018-04-13 13:28:47 CEST
It would be nice if one could start univention-cli-server in foreground using some parameters for debug level and logfile: univention-cli-server -n -d4 -L /dev/stderr
Created attachment 6629 [details] patch usage: univention-cli-server [-h] [-n] [-L LOGFILE] [-d DEBUG_LEVEL] [-t TIMEOUT] optional arguments: -h, --help show this help message and exit -n Run in foreground without daemonizing -L LOGFILE logfile: /var/log/univention/directory-manager-cmd.log -d DEBUG_LEVEL debug level: 1 -t TIMEOUT timeout: 300
Also see Bug #33224, which contains a patch to make the cli-server callable from the command-line, which I used myself multiple time for debugging UDM modules the past.
curl https://forge.univention.org/bugzilla/attachment.cgi?id=6629 | patch -d /usr/share/univention-directory-manager-tools/
The patch was used as base and verified by Bug #40422. *** This bug has been marked as a duplicate of bug 40422 ***