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

View file

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

View file

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