summaryrefslogtreecommitdiff
path: root/net-fs/minio/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-01 03:04:39 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-01 03:04:39 +0000
commit407525b571b48cfd65e1ad7a02d250a927c967c9 (patch)
tree844bea44d85dc7218f54970af1c42cc9d55c3f1a /net-fs/minio/files
parent89c6c06b8c42107dd231687a1012354e7d3039fc (diff)
gentoo resync : 01.12.2017
Diffstat (limited to 'net-fs/minio/files')
-rw-r--r--net-fs/minio/files/minio.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-fs/minio/files/minio.initd b/net-fs/minio/files/minio.initd
new file mode 100644
index 000000000000..3e64ba16f75e
--- /dev/null
+++ b/net-fs/minio/files/minio.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Minio Object Storage Server"
+pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
+command="/usr/bin/minio"
+command_args="${command_args:-server /var/lib/minio}"
+command_background="true"
+start_stop_daemon_args="--stdout /var/log/${SVCNAME}.log \
+ --stderr /var/log/${SVCNAME}.log"