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
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 m
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 /
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
>
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 i
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 cron