-
Notifications
You must be signed in to change notification settings - Fork 76
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
Tracking the best systemd unit file(s) for Kolibri? #1832
Comments
Quick Background on the narrow issue of systemd unit files: even "official" unit files e.g. for major packages like dnsmasq very often contain showstopper bugs, so IIAB has learned that we have to be extremely judicious in choosing/refining the best strategies here! (Accepting system unit files from upstream without extensive testing+review is definitely not an effective strategy in the end, despite our best wishes that has NOT worked out ;-) |
A quick search of kolibri turns up no unit file, so we use ours. Closest upstream kolibri-server unit file unit file. We do not currently use kolibri-server as the webserver is not apache but nginx. |
@jvonau it's part of the Debian package source, which is separate. https://github.com/learningequality/kolibri-installer-debian/blob/master/debian/startup/kolibri.service |
Think then the question for IIAB is do you use the upstream ppa repo or continue to install via pip. |
@jvonau can we close this now? |
@jvonau LMK if this needs to be re-opened. |
@benjaoming wrote @ #1828 (comment):
Just so I understand, are you suggesting something like either of the following?
https://docs.ansible.com/ansible/latest/modules/apt_module.html
https://docs.ansible.com/ansible/latest/modules/dpkg_selections_module.html
IIAB has had endless trouble installing certain .deb packages directly in the case of Calibre, and likewise the lastest PPA's for Ansible, but perhaps the process is becoming more sane in recent years ?? Not that pip/npm/yarn are perfect by any stretch of the imagination, when normal
apt
installs are not possible :-)If https://github.com/iiab/iiab/blob/master/roles/kolibri/templates/kolibri.service.j2 is not the latest we all definitely need to know yes!
Conversely where should we find the latest/recommended systemd unit file Kolibri that you recommend in general? Certainly IIAB has to manage diverse such system unit files, which sometimes need delicate modifications on slow-booting / older machine etc, especially when many service are running, that @jvonau and others have greatly helped with~
Refs:
#1591 "Better Kolibri performance with static file serve and wsgi"
#1646 "Migrate IIAB to kolibri-server for RPi performance"
The text was updated successfully, but these errors were encountered: