[SOLVED] tis-rustdesk-config-template on linux
Published: October 5, 2026 - 3:19 PM
Information:
- WAPT version 2.7.0.19593-10b94c8e-amd64
- WAPT server OS: Debian 13
- Administration machine operating system: Windows Server 2022 Standard
Good morning,
According to my tests, the tis-rustdesk-config-template package does not work on a Linux agent (Debian 13 in my case) because it uses the "service_is_running" function which seems to exist only for Windows (cf. https://www.wapt.fr/apidoc/wapt-2.3/win ... is_running)
For my part, I bypassed the problem by creating a package used solely for my Linux agents and which uses a custom function:
- WAPT version 2.7.0.19593-10b94c8e-amd64
- WAPT server OS: Debian 13
- Administration machine operating system: Windows Server 2022 Standard
Good morning,
According to my tests, the tis-rustdesk-config-template package does not work on a Linux agent (Debian 13 in my case) because it uses the "service_is_running" function which seems to exist only for Windows (cf. https://www.wapt.fr/apidoc/wapt-2.3/win ... is_running)
For my part, I bypassed the problem by creating a package used solely for my Linux agents and which uses a custom function:
Code: Select all
import subprocess
def systemd_is_active(servicename):
return subprocess.call(['systemctl', 'is-active', '--quiet', servicename]) == 0