This repository has been archived on 2023-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
salt-states_old/minio/systemd.sls

21 lines
472 B
Plaintext
Raw Normal View History

2021-01-02 09:35:49 +00:00
Create minio systemd service:
file.managed:
- name: /etc/systemd/system/minio.service
- source: salt://minio/files/minio.service.jinja
- template: jinja
- user: root
- group: root
- mode: "0660"
SystemD daemon reload:
cmd.run:
- name: systemctl --system daemon-reload
- onchanges:
- file: Create minio systemd service
start MinIO:
service.running:
- name: minio.service
- onchanges:
- cmd: SystemD daemon reload