guru/app-crypt/tang/files/tangd.initd
Julien Roy 14b4341633
app-crypt/tang: add conf.d config file
Signed-off-by: Julien Roy <julien@jroy.ca>
2022-07-08 22:00:58 -04:00

12 lines
370 B
Plaintext

#!/sbin/openrc-run
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="tang daemon"
description="Tang binding daemon"
command=/usr/bin/socat
pidfile="/var/run/${RC_SVCNAME}.pid"
command_user="tang"
command_args="TCP-LISTEN:${PORT},bind=${ADDRESS},fork SYSTEM:'/usr/libexec/tangd ${TANGDIR}'"
command_background=true