Quoting Phil Morrell (2019-08-26 23:22:49) > Hi, just following up our conversation on IRC and documenting what you > suggested in case anyone else is available to do the work.
Thanks - quite helpful! > > I might introduce more specific packages - radicale-systemd and > > radicale-uwsgi depending on daemon tools, and radicale-user which > > includes registration in XDG menu system. Help with that > > appreciated. > > radicale: > > * should recommend, and be depended by, each of the below I think (but am open to other suggestions) that "radicale" should become a meta-package depending on either system-wide daemon setups, the generally recommended one listed first - i.e. with _no_ packages depending on or recommending it. > * probably in the order shown, since non-systemd uses can be explicit In my opinion uwsgi flavor should be recommended, since that is a flexible and efficient way of serving only as a back-end service, leaving the front-end to battle-tested daemons like Apache2 or Nginx. Please elaborate why you think systemd flavor should be recommended. > * would be nice to have depends syntax support grouping, so the uwsgi > version can be preferred if uwsgi is already setup Sure would be nice, but not possible with the expressivity of Debian packaging system today. > radicale-systemd: > > * embed, install and enable upstream unit file > * https://radicale.org/setup/#linux-with-systemd-system-wide > * current config relies on systemd-sysv-generator, so unit is untested > > radicale-uwsgi: > > * move and enable pre-existing radicale.ini, restart uwsgi > * https://salsa.debian.org/freedombox-team/plinth/issues/1620#note_102304 > > radicale-sysvinit: > > * move and enable pre-existing radicale.init script > * https://sources.debian.org/src/radicale/2.1.11-6/debian/rules/#L12 I think we can merge systemd and sysvinit flavors. As I understand it, when a package provides both a systemd unit file and a sysV init script, then those init systems make sure to only process one of them. > radicale-user: > > * embed, install and enable upstream unit file > * https://radicale.org/setup/#linux-with-systemd-as-a-user > * templating should handle default config for user dir > * create .desktop launcher, with sensible-browser to web UI - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature

