> On 6 Feb 2019, at 17:57, Steve Litt wrote:
>
> Or, you could use this as an opportunity to stick your toes in the
> water of runit or s6, by running runit or s6 from /etc/inittab's
> special respawn area, and then making a s6 or runit service that makes
> the directory, and then does a
> On 6 Feb 2019, at 03:03, Didier Kryn wrote:
>
> The first solution seems the best to me because it concentrates all the
> customization in one place, but, for completeness, an alternative to the
> second solution is to add the line 'mkdir /var/run/barman' in /etc/rc.local .
>
>
On Tue, 5 Feb 2019 10:52:24 +1100
wirelessduck--- via Dng wrote:
> I'm running the barman backup software for PostgreSQL and the
> documentation says I should configure the lockfile directory to be on
> a volatile partition like /var/run/barman.
>
> Since this software runs every minute via
Rowland Penny via Dng [05/02/2019 21.59]:
>> I think you meant to write:
>>
>> if [ ! -d /var/run/barman ]; then mkdir -p /var/run/barman; fi
>>
>
> even better:
>
> [[ -d /var/run/barman ]] || mkdir -p /var/run/barman
Or even simpler:
mkdir -p /var/run/barman
If the directory or any of
On Tue, 5 Feb 2019 21:31:46 +0100
Alessandro Selli wrote:
> On 05/02/19 at 11:34, k...@aspodata.se wrote:
> > Tom:
> > ...
> >> What is the recommended alternative way to create a sub-directory
> >> of /var/run on bootup for non-daemon software?
> > Don't know about "recommended", but you can
>
On 05/02/19 at 11:34, k...@aspodata.se wrote:
> Tom:
> ...
>> What is the recommended alternative way to create a sub-directory of
>> /var/run on bootup for non-daemon software?
> Don't know about "recommended", but you can
>
> . prepend your cron script like (or have a wrapper):
>
> if [ ! -d
Le 05/02/2019 à 11:34, k...@aspodata.se a écrit :
Tom:
...
What is the recommended alternative way to create a sub-directory of
/var/run on bootup for non-daemon software?
Don't know about "recommended", but you can
. prepend your cron script like (or have a wrapper):
if [ ! -d / ]; then
Tom:
...
> What is the recommended alternative way to create a sub-directory of
> /var/run on bootup for non-daemon software?
Don't know about "recommended", but you can
. prepend your cron script like (or have a wrapper):
if [ ! -d / ]; then mkdir -p /var/run/barman; fi
. in the crontab
I'm running the barman backup software for PostgreSQL and the
documentation says I should configure the lockfile directory to be on
a volatile partition like /var/run/barman.
Since this software runs every minute via cron instead of having a
daemon process, there is no service script in