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:
parent
8d78388915
commit
7381b5bfd8
21 changed files with 306 additions and 44 deletions
12
states/gnuviechadmin/celery-worker.service
Normal file
12
states/gnuviechadmin/celery-worker.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue