plugin_services 1.0.1: ask systemctl show for units by name (1.0.0 shipped pid 0 / enabled '-' for every unit on systemd 249)
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-12 08:54:50
Commit61ab38ec
Parentsed3b44e9
Changed files
release-dist.sh+1−1■■
tests/run.sh+1−1■■
3 files+3−3
Diff
release-dist.sh+1−1■■
index df277b5..39c77db 100755
--- a/release-dist.sh
+++ b/release-dist.sh
@@ -31,7 +31,7 @@ set -euo pipefail
3131
3232 SLUG="services"
3333 ID="plugin_services"
34-VERSION="1.0.0"
34+VERSION="1.0.1"
3535 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
3636
3737 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_services.c+1−1■■
index a944b35..2a3a659 100644
--- a/src/plugin_services.c
+++ b/src/plugin_services.c
@@ -72,7 +72,7 @@
7272
7373 #define PLUGIN_SLUG "services"
7474 #define PLUGIN_ID "plugin_services"
75-#define PLUGIN_VER "1.0.0"
75+#define PLUGIN_VER "1.0.1"
7676
7777 #define PLUGIN_NAME "services"
7878 #define PLUGIN_DESC "System services"
tests/run.sh+1−1■■
index 7b1c3d2..a011159 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -93,7 +93,7 @@ M2=$(body "$(SX_PLUGIN_META=1 $BIN)")
9393 check "SX_PLUGIN_META env var works" '"name":"services"' "$M2"
9494 check_not "--meta emits no HTML" '<html' "$M"
9595 check_not "--meta carries no version noise" 'version' "$M"
96-check "--version prints the id and version" 'plugin_services 1.0.0' "$($BIN --version)"
96+check "--version prints the id and version" 'plugin_services 1.0.1' "$($BIN --version)"
9797
9898 # ---------------------------------------------------------------- auth
9999 section "mode 2 - node authentication"
100100
release-dist.sh+1−1■■
index df277b5..39c77db 100755index df277b5..39c77db 100755
--- a/release-dist.sh--- a/release-dist.sh
+++ b/release-dist.sh+++ b/release-dist.sh
@@ -31,7 +31,7 @@ set -euo pipefail@@ -31,7 +31,7 @@ set -euo pipefail
31 31
32 SLUG="services"32 SLUG="services"
33 ID="plugin_services"33 ID="plugin_services"
34-VERSION="1.0.0"34+VERSION="1.0.1"
35 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"35 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
36 36
37 ROOT="$(cd "$(dirname "$0")" && pwd)"37 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_services.c+1−1■■
index a944b35..2a3a659 100644index a944b35..2a3a659 100644
--- a/src/plugin_services.c--- a/src/plugin_services.c
+++ b/src/plugin_services.c+++ b/src/plugin_services.c
@@ -72,7 +72,7 @@@@ -72,7 +72,7 @@
72 72
73 #define PLUGIN_SLUG "services"73 #define PLUGIN_SLUG "services"
74 #define PLUGIN_ID "plugin_services"74 #define PLUGIN_ID "plugin_services"
75-#define PLUGIN_VER "1.0.0"75+#define PLUGIN_VER "1.0.1"
76 76
77 #define PLUGIN_NAME "services"77 #define PLUGIN_NAME "services"
78 #define PLUGIN_DESC "System services"78 #define PLUGIN_DESC "System services"
tests/run.sh+1−1■■
index 7b1c3d2..a011159 100644index 7b1c3d2..a011159 100644
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -93,7 +93,7 @@ M2=$(body "$(SX_PLUGIN_META=1 $BIN)")@@ -93,7 +93,7 @@ M2=$(body "$(SX_PLUGIN_META=1 $BIN)")
93 check "SX_PLUGIN_META env var works" '"name":"services"' "$M2"93 check "SX_PLUGIN_META env var works" '"name":"services"' "$M2"
94 check_not "--meta emits no HTML" '<html' "$M"94 check_not "--meta emits no HTML" '<html' "$M"
95 check_not "--meta carries no version noise" 'version' "$M"95 check_not "--meta carries no version noise" 'version' "$M"
96-check "--version prints the id and version" 'plugin_services 1.0.0' "$($BIN --version)"96+check "--version prints the id and version" 'plugin_services 1.0.1' "$($BIN --version)"
97 97
98 # ---------------------------------------------------------------- auth98 # ---------------------------------------------------------------- auth
99 section "mode 2 - node authentication"99 section "mode 2 - node authentication"
100100