[erlang-questions] Pipes - systemd

Ali Sabil ali.sabil@REDACTED
Tue Jun 14 17:19:45 CEST 2016


I think /var/run is more appropriate indeed

On Tue, Jun 14, 2016 at 4:45 PM Tristan Sloughter <t@REDACTED> wrote:

> Thanks for sharing! That is going to save me a lot of future debugging
> time I'm sure :)
>
> This got me thinking, should these files really go to /tmp/? Would
> /var/run be more appropriate?
>
> --
> Tristan Sloughter
> t@REDACTED
>
>
>
> On Mon, Jun 13, 2016, at 08:52 PM, Technion wrote:
>
> Hi,
>
>
> I've had a lot of frustrating times with this issue and wanted to mention
> it before anyone else does.
>
>
> Specifically, my erl pipes kept getting deleted, meaning you couldn't
> attach, or cleanly shutdown services.
>
>
> After far too long, I've tracked this to a new systemd service, and found
> the fix involves editing this file:
>
>
> /usr/lib/tmpfiles.d/tmp.conf
>
>
> And telling it not to apply the default ten day lifetime on this folder:
>
>
> x /tmp/erl_pipes
>
>
> I'm expecting that will sort it out (although I know now I need ten days
> to tell).
> *_______________________________________________*
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160614/bf27ac65/attachment.htm>


More information about the erlang-questions mailing list