paulbsd-salt/states/gitea/service.sls

20 lines
433 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
# -*- coding: utf-8 -*-
# vim: ft=sls
{%- from "gitea/map.jinja" import gitea with context %}
gitea:
service.running:
2020-09-12 17:41:35 +02:00
- enable: true
- full_restart: true
2020-07-10 00:58:55 +02:00
- watch:
- file: /var/lib/gitea/gitea
- file: /var/lib/gitea/custom/conf/app.ini
/etc/systemd/system/gitea.service:
file.managed:
- source: salt://gitea/files/gitea.service
- user: root
- group: root
- mode: 644
2020-09-12 17:41:35 +02:00
- makedirs: true