paulbsd-salt/states/ipfs/service.sls
2021-01-17 17:44:22 +01:00

14 lines
276 B
Plaintext

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