summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/minio/files/minio.initd')
-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"