I was trying to see if I could easily get the rpm to use the new systemd file.
However I can't even get `buildme.pl --build redhat ...` to run.
The errors are quite basic and I've solved a few of them
(e.g. need to clone `slimserver` and `slimserver-platforms` as `server` and `platforms` into same dir etc)
but the remaining issues are so basic that I'm starting to think that no one actually uses this script
> However I can't even get `buildme.pl --build redhat ...` to run.
What errors would you get?
> how is the official rpm built ?
Using the above script :-). Don't have access to the build machine right
now, but if you provided your input and the resulting output I could
probably help.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
I wasn't aware that you were already working with adding a systemd unit to the RPM package until I found this thread. Anyway, if you think I can be of any help, just let me know.
As far as I can see the main things to look at would be
- Unit file must be slightly different compared to the one used by Debian due to the different content and location of the /etc/sysconfig/squeezeboxserver file
- Amendment of /etc/sysconfig/squeezeboserver to allow users to pass additional arguments to the unit file (though ideally that would be done with a unit drop-in file in the systemd world).
- the post install script in the RPM package would need updating to take care of enabling the unit file (there are some other needed changes there too since SUSE stopped shipping /etc/SuSE-release).
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment