Browse Source

Make systemd diaspora-web.service template configurable

tags/v1.0.0
Benjamin Neff 6 years ago
parent
commit
ea8ee2f67a
No account linked to committer's email address
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      diaspora/defaults.yaml
  2. +1
    -1
      diaspora/service.sls

+ 2
- 0
diaspora/defaults.yaml View File

diaspora: diaspora:
systemd:
web_template: salt://diaspora/files/diaspora-web.service
repository: git://github.com/diaspora/diaspora.git repository: git://github.com/diaspora/diaspora.git
version: master version: master
install_path: /srv/diaspora install_path: /srv/diaspora

+ 1
- 1
diaspora/service.sls View File

file.managed: file.managed:
- user: root - user: root
- mode: 644 - mode: 644
- source: salt://diaspora/files/diaspora-web.service
- source: {{ diaspora.systemd.web_template }}
- template: jinja - template: jinja
- context: - context:
diaspora: {{ diaspora|json }} diaspora: {{ diaspora|json }}

Loading…
Cancel
Save