mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
629 B
25 lines
629 B
{% from 'common.jinja2' import app_dir, app_username %}
|
|
|
|
# webassets will crash the site unless this file exists, make sure it's always there
|
|
{{ app_dir }}/static/css/site-icons.css:
|
|
file.managed:
|
|
- user: {{ app_username }}
|
|
- group: {{ app_username }}
|
|
- create: True
|
|
- replace: False
|
|
|
|
/etc/systemd/system/webassets.service:
|
|
file.managed:
|
|
- source: salt://webassets.service.jinja2
|
|
- template: jinja
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|
|
- require_in:
|
|
- service: webassets.service
|
|
|
|
webassets.service:
|
|
service.running:
|
|
- enable: True
|
|
- require:
|
|
- pip: pip-installs
|