[BUG] Go-sbot service status query fails #94
Labels
No Label
bug
documentation
duplicate
enhancement
help wanted
invalid
maintenance
peach-lib
peach-network
peach-oled
peach-stats
peach-web
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PeachCloud/peach-workspace#94
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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 FAILED
and the memory is 0, even when the process isACTIVE
and using memory.Steps to reproduce the bug:
Visit the Status page with peach-web running on a computer that does not have
systemctl
at/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,
systemctl
instead of/usr/bin/systemctl
.Fixed by PR #100.