Skip to content

Commit

Permalink
minio dir in systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Jul 25, 2024
1 parent 3a194d9 commit b085e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/minio/tasks/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
AssertFileIsExecutable=/usr/local/bin/minio
[Service]
WorkingDirectory=/var/lib/minio/
WorkingDirectory={{ minio_data_directory }}
User=minio
Group=minio
EnvironmentFile=/etc/minio/minio.env
ExecStart=/usr/local/bin/minio server /var/lib/minio/ --address ":{{ minio_internal_port }}"
ExecStart=/usr/local/bin/minio server {{ minio_data_directory }} --address ":{{ minio_internal_port }}"
Restart=always
LimitNOFILE=65536
TasksMax=infinity
Expand Down

0 comments on commit b085e5e

Please sign in to comment.