- This topic has 1 reply, 2 voices, and was last updated Jun 10-12:21 pm by sybok.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Homebridge
Tagged: homebridge service systemctl
Hi. I’ve installed antiX package 21 on a 2008 Macbook with the intent to use it as a homebridge server. I’ve managed to install everything but when trying open the Web UI of Homebridge it simply does nothing.
In the terminal I try sudo hb-service status which returns Testing hb-service is running on port ####; Homebridge UI Not Running.
I then tried sudo hb-service start which then returns /usr/local/bin/hb-service: line 46: systemctl: command not found.
Could someone help with the issue with systemctl and how to go about fixing this. I’m a complete newbie so step-by-step would be appreciated.
Hi,
‘systemctl’ is CLI tool to manage ‘systemd’ services.
antiX is systemd-free, hence there is no ‘systemctl’ to be found.
I would advise to find alternative to Homebridge tool (see e.g. https://alternativeto.net/software/homebridge/) that does not expect ‘systemd/systemctl’ to be present.
Or you could attempt a hack which would require you to acquire some knowledge about services in your antiX installation (depends on the init, e.g. ‘sysvinit’ or ‘runit’):
0) Backup the file ‘/usr/local/bin/hb-service’ (as root)
1) Find all occurrences of ‘systemctl’ in the file ‘/usr/local/bin/hb-service’ and edit them to replace calls of ‘systemctl’ with appropriate equivalents (I am aware that this is a very vague formulation).
2) Start the ‘hb-service’.
If it works, great! If not, more work needs to be done.
Any update will most likely erase those modifications as the edited file is expected to be rewritten.
Therefore you would have to repeat the above mentioned procedure.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |