diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-04-13 15:58:46 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-04-13 15:59:13 +0200 |
commit | 4d5a7f8f0bc75ccc1125053be6b06f0ed6d4e389 (patch) | |
tree | 1ddc5bc68c346b675a423c83a20697343e5503c7 /app-misc/notary/files | |
parent | app-portage/gemato: Bump to 13.0 (non-parallel version) (diff) | |
download | gentoo-4d5a7f8f0bc75ccc1125053be6b06f0ed6d4e389.tar.gz gentoo-4d5a7f8f0bc75ccc1125053be6b06f0ed6d4e389.tar.bz2 gentoo-4d5a7f8f0bc75ccc1125053be6b06f0ed6d4e389.zip |
app-misc/notary: Initial version
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-misc/notary/files')
-rw-r--r-- | app-misc/notary/files/notary-server.confd | 2 | ||||
-rw-r--r-- | app-misc/notary/files/notary-server.initd | 19 | ||||
-rw-r--r-- | app-misc/notary/files/notary-signer.confd | 2 | ||||
-rw-r--r-- | app-misc/notary/files/notary-signer.initd | 19 |
4 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/notary/files/notary-server.confd b/app-misc/notary/files/notary-server.confd new file mode 100644 index 000000000000..eb47b978cbe3 --- /dev/null +++ b/app-misc/notary/files/notary-server.confd @@ -0,0 +1,2 @@ +# arguments for notary server +command_args="-config=/var/lib/notary/fixtures/server-config-local.json" diff --git a/app-misc/notary/files/notary-server.initd b/app-misc/notary/files/notary-server.initd new file mode 100644 index 000000000000..6d2bd22fc613 --- /dev/null +++ b/app-misc/notary/files/notary-server.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 2016-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Notary server" +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} +user=${user:-notary} +group=${group:-notary} + +command="/usr/bin/notary-server" +command_args="${command_args:--config=/var/lib/notary/fixtures/server-config-local.json}" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/notary/${RC_SVCNAME}.log \ + --stderr /var/log/notary/${RC_SVCNAME}.log" + +depend() { + after net +} diff --git a/app-misc/notary/files/notary-signer.confd b/app-misc/notary/files/notary-signer.confd new file mode 100644 index 000000000000..5ead0d85b2c9 --- /dev/null +++ b/app-misc/notary/files/notary-signer.confd @@ -0,0 +1,2 @@ +# arguments for notary signer +command_args="-config=/var/lib/notary/fixtures/signer-config-local.json" diff --git a/app-misc/notary/files/notary-signer.initd b/app-misc/notary/files/notary-signer.initd new file mode 100644 index 000000000000..5238b31b5b46 --- /dev/null +++ b/app-misc/notary/files/notary-signer.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 2016-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Notary signer" +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} +user=${user:-notary} +group=${group:-notary} + +command="/usr/bin/notary-signer" +command_args="${command_args:--config=/var/lib/notary/fixtures/signer-config-local.json}" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/notary/${RC_SVCNAME}.log \ + --stderr /var/log/notary/${RC_SVCNAME}.log" + +depend() { + after net +} |