Skip to content
Snippets Groups Projects
Commit 4916e374 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

JASS CD WIP

more ansible and wsgi work
parent ad6d298c
No related branches found
No related tags found
No related merge requests found
[Unit] [Unit]
Description=IPPIDB Web Server Description=JASS Web Server
After=network.target remote-fs.target nss-lookup.target After=network.target remote-fs.target nss-lookup.target
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/etc/ippidb-80/apachectl start ExecStart=/etc/jass/apachectl start
ExecStop=/etc/ippidb-80/apachectl stop ExecStop=/etc/jass/apachectl stop
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
import sys
sys.path.insert(0, '/opt/jass')
from jass.server import get_jass_app from jass.server import get_jass_app
app = get_jass_app() app = get_jass_app()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment