[BUG] Go-sbot service status query fails #94
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Brief description of the bug:
The state of the sbot is
PROCESS QUERY FAILEDand the memory is 0, even when the process isACTIVEand using memory.Steps to reproduce the bug:
Visit the Status page with peach-web running on a computer that does not have
systemctlat/usr/bin/systemctl(ie. it's at some other path, such as/bin/systemctl).Expected behaviour:
Accurate reporting of service state and memory consumption.
Fix:
Replace absolute paths with relative paths when invoking system commands from peach-web. For example,
systemctlinstead of/usr/bin/systemctl.Fixed by PR #100.