paulbsd-salt/states/gitea/service.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

22 lines
435 B
Plaintext

# vim: ft=sls
---
{%- from "gitea/map.jinja" import gitea with context %}
gitea-service:
file.managed:
- name: /etc/systemd/system/gitea.service
- source: salt://gitea/templates/gitea.service.j2
- user: root
- group: root
- mode: 644
- template: jinja
- makedirs: true
gitea:
service.running:
- enable: true
- full_restart: true
- watch:
- file: gitea-bin
- file: gitea-config