paulbsd-salt/states/ipfs/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

15 lines
290 B
Plaintext

---
ipfs-service-file:
file.managed:
- name: /etc/systemd/system/ipfs.service
- source: salt://ipfs/templates/ipfs.service.j2
- watch-in:
- service: ipfs-service
ipfs-service:
service.running:
- name: ipfs
- enable: true
- require:
- file: ipfs-dir