python-validity
python-validity copied to clipboard
Use without systemd
Hi,
as there are many distros out there that don't force you to use systemd, it would be great to have an option to install python-validity on those systems.
Is there any solution for this?
Thanks
Look at the systemd service file and write your own script.
I'm running this on gentoo+OpenRC just fine. The init script looks like:
$ cat /etc/init.d/validity
#!/sbin/openrc-run
command="/usr/lib/python-validity/dbus-service"
command_background=true
pidfile="/var/run/${RC_SVCNAME}.pid"
I'm running this on gentoo+OpenRC just fine. The init script looks like:
$ cat /etc/init.d/validity #!/sbin/openrc-run command="/usr/lib/python-validity/dbus-service" command_background=true pidfile="/var/run/${RC_SVCNAME}.pid"
@mid-kid without fprintd-clients? I'm struggling to install it as it has a hard requirement for libsystemd
@Midou36O You can use fprintd-0.9.0 to build the clients without libsystemd. Here's a relevant patch for it: https://pastebin.com/raw/7AQbB0WC
That said, good chance you can modify modern fprintd to link with elogind since the clients only need the sd-bus api, which elogind provides. It didn't exist back when I was still messing with this tool and it's probably more trouble than it's worth, the new clients haven't added much functionality.
So i could just use a modern libelogind patched fprintd and it would just work?
Like I said, I use the clients from fprintd-0.9.0, which don't need libsystemd, so I wouldn't know.
I see, thanks for the help.
Update: I got it to work, Please check this if you want to install it through OpenRC