diff options
author | Julien Roy <julien@jroy.ca> | 2022-04-17 16:15:30 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2022-04-17 16:15:30 -0400 |
commit | 70409dd85bfab781f50206c9148d990a6981cc07 (patch) | |
tree | 506d567bbeee2a50dcf69499aa58c6f44f919c1c /app-crypt/tang/files/tang.initd | |
parent | 0d878767cdefabea2801dbd393fa82dde84f1528 (diff) | |
download | MrRoy-Overlay-70409dd85bfab781f50206c9148d990a6981cc07.tar.gz MrRoy-Overlay-70409dd85bfab781f50206c9148d990a6981cc07.tar.bz2 MrRoy-Overlay-70409dd85bfab781f50206c9148d990a6981cc07.zip |
Updated tang
Diffstat (limited to 'app-crypt/tang/files/tang.initd')
-rw-r--r-- | app-crypt/tang/files/tang.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-crypt/tang/files/tang.initd b/app-crypt/tang/files/tang.initd new file mode 100644 index 0000000..4b7e429 --- /dev/null +++ b/app-crypt/tang/files/tang.initd @@ -0,0 +1,16 @@ +#!/sbin/openrc-run +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +port=8888 +bind=0.0.0.0 +tangd=/usr/libexec/tangd +tangdir=/var/db/tang + +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=${bind},fork SYSTEM:'${tangd} ${tangdir}'" +command_background=true |