diff options
Diffstat (limited to 'net-libs/meta-srht/files/meta.sr.ht-api.initd')
-rw-r--r-- | net-libs/meta-srht/files/meta.sr.ht-api.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-libs/meta-srht/files/meta.sr.ht-api.initd b/net-libs/meta-srht/files/meta.sr.ht-api.initd new file mode 100644 index 0000000..6280e78 --- /dev/null +++ b/net-libs/meta-srht/files/meta.sr.ht-api.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="meta.sr.ht API daemon" +description="" +command="/usr/bin/metasrht-api" +command_args="-b ${ADDRESS}:${PORT}" +command_user="srht:srht" +command_background=true +pidfile="/run/${RC_SVCNAME}.pid" + +depend() { + need net +} |