But how will that be any different to the section in /etc/init.d/proftpd
that checks for the existence of /var/run/proftpd and creates it if it
is not present?
It looks like this:
# /var/run could be on a tmpfs
[ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd
And if I stop the proftpd service, manually delete /var/run/proftpd then
start the proftpd service again the /var/run/proftpd directory is
correctly created and the service starts.
I am just asking out of curiosity as I have no idea what
/etc/init/mounted-varrun is used for!
I will add that line in now and let you know how it goes.
Many thanks
Graham
On 18/06/10 08:32, Arnd wrote:
> Hi Graham,
>
> just a guess.
> Could you try to add the line
> mkdir -p /var/run/proftpd
>
> after the line:
> mkdir -p /var/run/sendsigs.omit.d
>
> in /etc/init/mounted-varrun
>
> Best regards,
> Arnd
>
>
Hi Arnd,
Sure - I will give that a try.
But how will that be any different to the section in /etc/init.d/proftpd
that checks for the existence of /var/run/proftpd and creates it if it
is not present?
It looks like this:
# /var/run could be on a tmpfs
[ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd
And if I stop the proftpd service, manually delete /var/run/proftpd then
start the proftpd service again the /var/run/proftpd directory is
correctly created and the service starts.
I am just asking out of curiosity as I have no idea what mounted- varrun is used for!
/etc/init/
I will add that line in now and let you know how it goes.
Many thanks
Graham
On 18/06/10 08:32, Arnd wrote: sendsigs. omit.d mounted- varrun
> Hi Graham,
>
> just a guess.
> Could you try to add the line
> mkdir -p /var/run/proftpd
>
> after the line:
> mkdir -p /var/run/
>
> in /etc/init/
>
> Best regards,
> Arnd
>
>