public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/vault/files: vault.initd vault.service localhost.json.example vault.confd
Date: Tue, 26 May 2015 03:17:37 +0000 (UTC)	[thread overview]
Message-ID: <20150526031737.6FC9D9FE@oystercatcher.gentoo.org> (raw)

zmedico     15/05/26 03:17:37

  Added:                vault.initd vault.service localhost.json.example
                        vault.confd
  Log:
  Add vault.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)

Revision  Changes    Path
1.1                  app-admin/vault/files/vault.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.initd?rev=1.1&content-type=text/plain

Index: vault.initd
===================================================================
#!/sbin/openrc-run
# Copyright 2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/vault/files/vault.initd,v 1.1 2015/05/26 03:17:37 zmedico Exp $

description="vault server"
group=${group:-${SVCNAME}}
pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
user=${user:-${SVCNAME}}

command="/usr/sbin/${SVCNAME}"
command_args="agent -config-dir=/etc/vault.d ${command_args}"
command_background="true"
start_stop_daemon_args="--user ${user} --group ${group} \
	--stdout /var/log/${SVCNAME}/${SVCNAME}.log \
	--stderr /var/log/${SVCNAME}/${SVCNAME}.log"

depend() {
	need net
	after net
}

start_pre() {
	checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
}



1.1                  app-admin/vault/files/vault.service

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.service?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.service?rev=1.1&content-type=text/plain

Index: vault.service
===================================================================
[Unit]
Description=vault server
Requires=network-online.target
After=network-online.target

[Service]
User=vault
Environment=VAULT_SERVER_OPTS="-config=/etc/vault.d"
ExecStart=/usr/bin/vault server $VAULT_SERVER_OPTS
CapabilityBoundingSet=CAP_IPC_LOCK
Capabilities=CAP_IPC_LOCK=eip
SecureBits=keep-caps
Restart=on-failure
SuccessExitStatus=2

[Install]
WantedBy=default.target



1.1                  app-admin/vault/files/localhost.json.example

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/localhost.json.example?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/localhost.json.example?rev=1.1&content-type=text/plain

Index: localhost.json.example
===================================================================
backend "consul" {
	address = "127.0.0.1:8500"
	path = "vault"
}

listener "tcp" {
	address = "127.0.0.1:8200"
	tls_disable = 1
}



1.1                  app-admin/vault/files/vault.confd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/vault/files/vault.confd?rev=1.1&content-type=text/plain

Index: vault.confd
===================================================================
# you can change the init script behavior by setting those parameters
# - group (default: vault)
# - pidfile (default: /run/vault/vault.pid)
# - user (default: vault)

# extra arguments for the consul agent
command_args="-config=/etc/consul.d"





                 reply	other threads:[~2015-05-26  3:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150526031737.6FC9D9FE@oystercatcher.gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox