Skip to content
Snippets Groups Projects
Commit fd19c694 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Add new tac file that uses config from mounted volume.

parent f2328b9c
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python # syntax highlightning
# This is .tac file for running OpenNSA directly from the source directory
# without installing OpenNSA. Handy for testing.
# Run directly in the terminal with: twistd -ny opennsa.tac
# Spawn deamon with twistd -y opennsa.tac
from opennsa import setup
# you can get debug and/or payload info in the log by setting one of the flags to true
application = setup.createApplication('/opennsa-config/opennsa.conf', payload=False, debug=False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment