Closed goldyfruit closed 2 months ago
sudo systemctl restart Too few arguments.
Its an issue with the PHAL system plugin as when running the restart_service
from ovos_utils
it works.
(ovos) goldyfruit@mark2:~ $ python
Python 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ovos_utils.system import restart_service
>>> restart_service("ovos.service", sudo=False, user=True)
>>>
systemctl restart
doesn't work, there is an issue with DBUS.