Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Lennart Poettering
On Thu, 30.03.17 21:42, Kai Krakow (hurikha...@gmail.com) wrote: > Am Thu, 30 Mar 2017 16:13:25 +0200 > schrieb Lennart Poettering : > > > On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > > > > > I have a oneshot service (run from a timer) that updates the TLS > > > certificat

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Kai Krakow
Am Thu, 30 Mar 2017 16:13:25 +0200 schrieb Lennart Poettering : > On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > > > I have a oneshot service (run from a timer) that updates the TLS > > certificates in my mod_nss database. Because NSS doesn't support > > concurrent access to

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Lennart Poettering
On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > I have a oneshot service (run from a timer) that updates the TLS > certificates in my mod_nss database. Because NSS doesn't support > concurrent access to the database, I need to temporarily shut down > Apache while the certifica

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Lennart Poettering
On Tue, 21.03.17 20:31, Kai Krakow (hurikha...@gmail.com) wrote: > Am Tue, 21 Mar 2017 07:47:59 -0500 > schrieb Ian Pilcher : > > > I have a oneshot service (run from a timer) that updates the TLS > > certificates in my mod_nss database. Because NSS doesn't support > > concurrent access to the d

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-21 Thread Kai Krakow
Am Tue, 21 Mar 2017 07:47:59 -0500 schrieb Ian Pilcher : > I have a oneshot service (run from a timer) that updates the TLS > certificates in my mod_nss database. Because NSS doesn't support > concurrent access to the database, I need to temporarily shut down > Apache while the certificate update

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-21 Thread Ian Pilcher
On 03/21/2017 08:09 AM, Mantas Mikulėnas wrote: Didn't NSS switch to sqlite for precisely that reason? Yes they did. Unfortunately, this is a FreeIPA server, which still uses the legacy Berkeley DB format. -- Ian Pilcher

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-21 Thread Mantas Mikulėnas
On Tue, Mar 21, 2017 at 2:47 PM, Ian Pilcher wrote: > I have a oneshot service (run from a timer) that updates the TLS > certificates in my mod_nss database. Because NSS doesn't support > concurrent access to the database, I need to temporarily shut down > Apache while the certificate update ser

[systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-21 Thread Ian Pilcher
I have a oneshot service (run from a timer) that updates the TLS certificates in my mod_nss database. Because NSS doesn't support concurrent access to the database, I need to temporarily shut down Apache while the certificate update service is running. Currently, I'm using the following entries