Jan Dittberner
7381b5bfd8
- merge improvements from the internal saltstack repository - define dummy secrets in the pillars - use systemd to setup the gvaldap celery worker
12 lines
317 B
Desktop File
12 lines
317 B
Desktop File
[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
|