-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenRC Support #8
Comments
I don't see why OpenRC wouldn't work. There's no hard dependency on systemd from the actual executables, only on D-Bus. Keep in mind though that the system service should be started after the DTX device is available (this udev rule helps with that for the systemd service). Feel free to send a PR. |
Right thank you for the reply, I'll report the progress back in a few days. |
My take on it so far:
|
forgot the name section |
Interesting:
|
The general idea behind the two daemons is: The system daemon is responsible for detaching whereas I have no idea how OpenRC works exactly, but you have to launch the |
Can confirm dtx is working when just invoking dtx-daemon using above init script. I've deactivated userd for now. |
@CountOmega Looks like surface-dtx-userd depends on dbus. But that couldn't start without an x server. Perhaps userd can be launched after your WM/DE? |
yeah still have to check it out. With above service file for surface-dtx-daemon it is stuck at starting and doesn't work. When I launch the service manuallly, it starts, and is working, but the command keeps running. If if ctrl +c it after some time it stops, obviously.
Really strange. |
Hi, I've taken a look at the source code for this. Would it be possible to add OpenRC support to it? From the looks of it, we only need a OpenRC service file. I am happy to write this up, however, are there any more aspects of this that depend on SystemD?
Sincerely,
Parin
The text was updated successfully, but these errors were encountered: