Merge pull request 'add new parameters and remove old ones' (#2) from userparameter into main

Reviewed-on: #2
This commit is contained in:
meaz 2023-08-04 06:16:40 +00:00
commit 5c73263d4e
1 changed files with 22 additions and 7 deletions

View File

@ -55,20 +55,35 @@ UserParameter=dovecot.processes,ps -A |grep imap |wc -l
# Lufi
UserParameter=lufi[*],cat /tmp/lufi_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'privatebin' %}
# PrivateBin
UserParameter=privatebin[*],cat /tmp/bin_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'framadate' %}
# Framadate
UserParameter=framadate[*],cat /tmp/framadate_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'etherpad' %}
# Etherpad
UserParameter=etherpad[*],cat /tmp/pad_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'ethercalc' %}
# Ethercalc
UserParameter=ethercalc[*],cat /tmp/ethercalc_stats | grep $1 | cut -d' ' -f2-
{% if item.name == 'forgejo' %}
# Forgejo
UserParameter=forgejo[*],cat /tmp/git_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'prosody' %}
# Prosody
UserParameter=prosody[*],cat /tmp/prosody_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'jitsi' %}
# Jitsi
UserParameter=jitsi[*],cat /tmp/jitsi_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% if item.name == 'mumble' %}
# Mumble
UserParameter=prmumbleosody[*],cat /tmp/mumble_stats | grep $1 | cut -d' ' -f2-
{% endif %}
{% endfor %}