matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
851 stars 26 forks source link

support for runit #164

Open ghost opened 1 year ago

ghost commented 1 year ago

Is your feature request related to a problem? Please describe. i really would like to use this app to record some cool clips, however im on artix runit so i cant enable the kms service with systemd, this would be very cool to implement since idk how to mke a runit service out of a systemd service.

Describe the solution you'd like id like a runit implementation of replay-sorcery.service and replay-sorcery-kms.service to exist for runit as a symlink you can make.

Alternative option maybe you could add a -d/--daemonize or a -dk/--daemonizekms flag to run the service without systemd

Additional context since its a systemd-service and im not sure how those work, i dont know how i'd go about making a runit script but generally they seem pretty easy since theres not much to them.

thank you!

oatmealine commented 1 year ago

As far as I know kms-service just runs replay-sorcery kms-service - if you do end up writing runit service files, please share! I'm on a Void Linux install myself and have just been running them in my shell due to the lack of non-systemd service files

ghost commented 1 year ago

thanks for commenting on this, id forgotten about this program but since opening ive gathered a lot more experience and could probably write the script now, will try soon!