ansible/playbooks/apps/templates/lyon-transports/lyon-transports.service.j2

13 lines
359 B
Django/Jinja

[Unit]
Description=Lyon transports API
After=network.target
[Service]
ExecStart={{ dir }}/lyon-transports-linux-amd64 --host 0.0.0.0 --port 8013 -u {{ lyon_transports_username }} -p {{ lyon_transports_password }} --cors-allowed-origin https://display.augendre.info
Type=simple
Restart=always
User=gaugendre
Group=gaugendre
[Install]
WantedBy=default.target