Re: [Koha-devel] Replace some koha-* scripts that use "daemon" with systemd unit files

2020-06-03 Thread dcook
I've got a local package installing a systemd template unit file at /etc/systemd/system/koha-mq-scheduler@.service. Now all it takes it "systemctl start koha-mq-scheduler@INSTANCE.service" to start, but in hindsight it actually makes sense to use koha-mq-scheduler script to handle --enable, --disab

Re: [Koha-devel] Replace some koha-* scripts that use "daemon" with systemd unit files

2020-06-03 Thread dcook
Unfortunately, I was exaggerating, when I said “task scheduler”. What I really have right now is just a FIFO worker that handles a long-running task for a custom local tool. I want to start small and build up, rather than trying to design something that will meet every use case. But I have

Re: [Koha-devel] Replace some koha-* scripts that use "daemon" with systemd unit files

2020-06-03 Thread Tomas Cohen Arazi
Yeah, and contribute that task schedule in the meantime El mié., 3 de junio de 2020 23:31, escribió: > Hi all, > > > > What do people think about replacing some of the koha-* script files with > systemd unit files? > > > > I’m creating a service for a RabbitMQ-based task scheduler and my unit >

[Koha-devel] Replace some koha-* scripts that use "daemon" with systemd unit files

2020-06-03 Thread dcook
Hi all, What do people think about replacing some of the koha-* script files with systemd unit files? I'm creating a service for a RabbitMQ-based task scheduler and my unit file is 17 declarative configuration lines. Creating a koha-mq-scheduler file looks like it'll be hundreds of lines of

Re: [Koha-devel] Bootstrap 4 upgrade for the OPAC

2020-06-03 Thread dcook
Ohhh I think I follow. So we wouldn't need to reference Bootstrap directly at all? We'd just point to opac.css and that would include all the Bootstrap CSS as well as our customizations? That sounds pretty awesome to me. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo,

Re: [Koha-devel] Bootstrap 4 upgrade for the OPAC

2020-06-03 Thread Owen Leonard
> Can you expand more on that? Yes. Bootstrap assets would be downloaded in a dev environment during "yarn install" as we do other npm packages. In the OPAC SCSS we can then reference those files when we build the OPAC CSS: /* Bootstrap imports */ @import "../../../../../node_modules/bootstrap/sc

Re: [Koha-devel] Bootstrap 4 upgrade for the OPAC

2020-06-03 Thread dcook
Can you expand more on that? At the moment, don't you compile the SCSS files, and commit those to the git repo? Would the Bootstrap assets be downloaded by npm for that process then thrown away (and a CDN used instead on the OPAC) or...? David Cook Systems Librarian Prosentient Systems 72/330

[Koha-devel] Bootstrap 4 upgrade for the OPAC

2020-06-03 Thread Owen Leonard
Hi all, I've been working on a Bootstrap 4 upgrade to the OPAC (Bug 20168, https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20168). My work in progress is here: https://gitlab.com/koha-dev/koha-dev/-/tree/wip-2020-05-14-opac-bootstrap-4 One of the differences between this version and ma

Re: [Koha-devel] Fwd: Repack git repo

2020-06-03 Thread Tomas Cohen Arazi
Awesome, Liz! El mié., 3 jun. 2020 a las 14:54, Liz Rea () escribió: > > Hi all, > > As the release is now done, yesterday ~3pm Central Standard Time I ran a > repack on the Koha repo. The repo is now 1.03G in size, down from 4.6G. > > There is more work to be done on that server - namely it's go

[Koha-devel] Fwd: Repack git repo

2020-06-03 Thread Liz Rea
Hi all, As the release is now done, yesterday ~3pm Central Standard Time I ran a repack on the Koha repo. The repo is now 1.03G in size, down from 4.6G. There is more work to be done on that server - namely it's got a old and busted (and cantankerous!) OS, and thusly an old and busted (and cantan