Implement proper provisioning for gvaldap

- merge improvements from the internal saltstack repository
- define dummy secrets in the pillars
- use systemd to setup the gvaldap celery worker
This commit is contained in:
Jan Dittberner 2020-03-04 00:10:16 +01:00
parent 8d78388915
commit 7381b5bfd8
21 changed files with 306 additions and 44 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description={{ description }}
[Service]
EnvironmentFile=-/etc/default/{{ appname }}
ExecStart={{ virtualenv }}/bin/celery worker -A {{ celery_module }} -Q {{ amqpname }} --loglevel=INFO
Restart=on-failure
User={{ app_user }}
WorkingDirectory={{ checkout }}/{{ appname }}
[Install]
WantedBy=multi-user.target