run:run
                This is an old revision of the document!
Running muniad
If you have followed the building instructions you should have an install directory containing all the necessary files for running the server.
Run the muniad service like so
install/bin/muniad --file <my database>.xml --port <my port> [--ssl]
If –file is omitted it, the database will be stored in /tmp/munia.xml which isn't very helpful but can be useful for quick tests.
If —ssl is added valid certificates must be put in install/share/ws/libwebsockets-test-server.key.pem and install/share/ws/libwebsockets-test-server.pem.
these files can be generated with openssl
openssl req -x509 -newkey rsa:4096 -keyout install/share/ws/libwebsockets-test-server.key.pem -out install/share/ws/libwebsockets-test-server.pem -days 365 -nodes
After this the server can be connected to using the https:.
 protocol instead of http:
run/run.1592851715.txt.gz · Last modified:  by deva
                
                