'unbrand' evilham's runit types

This commit is contained in:
fnux 2021-01-11 14:13:46 +01:00
parent 367cbde75b
commit ac63762653
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12
11 changed files with 11 additions and 11 deletions

View file

@ -145,8 +145,8 @@ PROMETHEUS_JITSI_EXPORTER_VERSION_FILE="/usr/local/bin/.prometheus-jitsi-meet-ex
if [ ! -f "${__object}/parameter/disable-prometheus-exporter" ]; then if [ ! -f "${__object}/parameter/disable-prometheus-exporter" ]; then
case "${init}" in case "${init}" in
init|sysvinit) init|sysvinit)
__evilham_runit __runit
require="__evilham_runit" __evilham_runit_service \ require="__runit" __runit_service \
prometheus-jitsi-meet-exporter --log --source - <<EOF prometheus-jitsi-meet-exporter --log --source - <<EOF
#!/bin/sh -e #!/bin/sh -e
cd /tmp cd /tmp
@ -156,7 +156,7 @@ if [ ! -f "${__object}/parameter/disable-prometheus-exporter" ]; then
-web.listen-address ':9888' 2>&1 -web.listen-address ':9888' 2>&1
EOF EOF
export require="__evilham_runit_service/prometheus-jitsi-meet-exporter" export require="__runit_service/prometheus-jitsi-meet-exporter"
JITSI_MEET_EXPORTER_SERVICE="sv %s prometheus-jitsi-meet-exporter" JITSI_MEET_EXPORTER_SERVICE="sv %s prometheus-jitsi-meet-exporter"
;; ;;
systemd) systemd)

View file

@ -1,9 +1,9 @@
cdist-type__evilham_runit(7) cdist-type__runit(7)
============================ ============================
NAME NAME
---- ----
cdist-type__evilham_runit - Install and configure runit cdist-type__runit - Install and configure runit
DESCRIPTION DESCRIPTION
@ -28,11 +28,11 @@ EXAMPLES
.. code-block:: sh .. code-block:: sh
__evilham_runit __runit
SEE ALSO SEE ALSO
-------- --------
:strong:`cdist-type__evilham_runit_service`\ (7) :strong:`cdist-type__runit_service`\ (7)
AUTHORS AUTHORS
------- -------

View file

@ -1,9 +1,9 @@
cdist-type__evilham_runit_service(7) cdist-type__runit_service(7)
==================================== ====================================
NAME NAME
---- ----
cdist-type__evilham_runit_service - Create a runit-compatible service dir. cdist-type__runit_service - Create a runit-compatible service dir.
DESCRIPTION DESCRIPTION
@ -33,7 +33,7 @@ EXAMPLES
.. code-block:: sh .. code-block:: sh
require="__evilham_runit" __evilham_runit_service tasksched \ require="__runit" __runit_service tasksched \
--source - << EOF --source - << EOF
#!/bin/sh -e #!/bin/sh -e
cd "${HOME}/.local/share/tasksched" cd "${HOME}/.local/share/tasksched"
@ -43,7 +43,7 @@ EXAMPLES
SEE ALSO SEE ALSO
-------- --------
:strong:`cdist-type__evilham_runit`\ (7) :strong:`cdist-type__runit`\ (7)
AUTHORS AUTHORS