mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 01:08:32 +01:00
feat: oidc web1 basics
This commit is contained in:
14
templates/waitress-systemd-unit.j2
Normal file
14
templates/waitress-systemd-unit.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user