aboutsummaryrefslogtreecommitdiff
path: root/app-crypt/tang/files/tangd.initd
blob: 04d30b3dafbdbe1b44dfd50257c59aaa3bf9e242 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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/tang ${TANGDIR}'"
command_background=true