mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 19:48:31 +01:00
15 lines
299 B
Django/Jinja
15 lines
299 B
Django/Jinja
[Unit]
|
|
Description={{ item.name }} on {{ item.port }} at {{ item.path }}
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory={{ item.path }}
|
|
|
|
Type=simple
|
|
User=www-data
|
|
|
|
ExecStart=/usr/bin/waitress-serve --host 0.0.0.0 --port {{ item.port }} --call 'app:createApp'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|