Since systemctl may not always be found at /usr/bin/systemctl (depending on OS and user preferences), it's best to invoke the command with systemctl and not an absolute path. This allows the OS to invoke the command regardless of the actual path to the binary.
I've also made the change for calls to nsupdate and curl.
Fixes [issue #94: Go-sbot service status query fails](https://git.coopcloud.tech/PeachCloud/peach-workspace/issues/94).
Since `systemctl` may not always be found at `/usr/bin/systemctl` (depending on OS and user preferences), it's best to invoke the command with `systemctl` and not an absolute path. This allows the OS to invoke the command regardless of the actual path to the binary.
I've also made the change for calls to `nsupdate` and `curl`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes issue #94: Go-sbot service status query fails.
Since
systemctlmay not always be found at/usr/bin/systemctl(depending on OS and user preferences), it's best to invoke the command withsystemctland not an absolute path. This allows the OS to invoke the command regardless of the actual path to the binary.I've also made the change for calls to
nsupdateandcurl.