tuned icon indicating copy to clipboard operation
tuned copied to clipboard

OpenRC support

Open mizzunet opened this issue 3 years ago • 5 comments

Here's openrc service file: https://0x0.st/oNfI.txt The service file is to be at /etc/init.d/

I don't know what to change inMakefile to detect init and install service file accordingly. Else, I'd have made a PR.

And tuned-gui fails to start

Traceback (most recent call last):
  File "/usr/bin/tuned-gui", line 902, in <module>
    base = Base()
  File "/usr/bin/tuned-gui", line 177, in __init__
    self.service_run_on_start_up('tuned'))
  File "/usr/bin/tuned-gui", line 729, in service_run_on_start_up
    temp = self._execute(['systemctl', 'is-enabled', service, '-q'])
  File "/usr/bin/tuned-gui", line 869, in _execute
    rc = subprocess.call(args)
  File "/usr/lib/python3.10/subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'systemctl'

mizzunet avatar Mar 21 '22 09:03 mizzunet

Definitely +1 from me, I am long time Gentoo / openrc user.

yarda avatar Mar 21 '22 09:03 yarda

Also runit, I'm void/runit user.

Animeshz avatar Mar 27 '22 17:03 Animeshz