From b20c03f656bdb116036412f8ced539c318fc5df1 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 3 Jan 2023 20:09:57 -0500 Subject: www-apps/meta-srht: add initd and confd scripts --- www-apps/meta-srht/files/meta.sr.ht.initd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www-apps/meta-srht/files/meta.sr.ht.initd (limited to 'www-apps/meta-srht/files/meta.sr.ht.initd') diff --git a/www-apps/meta-srht/files/meta.sr.ht.initd b/www-apps/meta-srht/files/meta.sr.ht.initd new file mode 100644 index 0000000..b7a3e72 --- /dev/null +++ b/www-apps/meta-srht/files/meta.sr.ht.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 daemon" +description="" +command="/usr/bin/gunicorn" +command_args="metasrht.app:app -b 127.0.0.1:5000" +command_user="srht:srht" +command_background=true +pidfile="/run/${RC_SVCNAME}.pid" + +depend() { + need net +} -- cgit v1.2.3