瀏覽代碼

Make systemd diaspora-web.service template configurable

tags/v1.0.0
Benjamin Neff 6 年之前
父節點
當前提交
ea8ee2f67a
No account linked to committer's email address
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      diaspora/defaults.yaml
  2. +1
    -1
      diaspora/service.sls

+ 2
- 0
diaspora/defaults.yaml 查看文件

@@ -1,4 +1,6 @@
diaspora:
systemd:
web_template: salt://diaspora/files/diaspora-web.service
repository: git://github.com/diaspora/diaspora.git
version: master
install_path: /srv/diaspora

+ 1
- 1
diaspora/service.sls 查看文件

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

Loading…
取消
儲存