[erlang-questions] Pipes - systemd
Thu Jun 16 05:24:58 CEST 2016
That's correct for me - given it wasn't blindingly obvious how to change this in rebar3 (ie, under either the "getting started" or "configuration" section of documentation), it quickly becomes one of those "do I really want to change this and deal with being non-standard"? Those sorts of situations generally outweigh filesystem standards that a particular product may or may not use.
From: erlang-questions-bounces@REDACTED <erlang-questions-bounces@REDACTED> on behalf of Tristan Sloughter <t@REDACTED>
Sent: Thursday, 16 June 2016 12:27:08 AM
Subject: Re: [erlang-questions] Pipes - systemd
Yea, I assume people are using /tmp because rebar 2.x and relx (based on
the script from rebar 2.x) uses /tmp in the release start script.
I am going to update the relx script to use /var/run by default, which
will also update rebar3.
On Wed, Jun 15, 2016, at 09:21 AM, Garrett Smith wrote:
> Once you fix that behavior, you'll probably be up against others that
> sprout up in time. Don't use /tmp for process files, unless they're ad
> hoc or short lived. As others have said /var/run or /run is generally
> where you want those to land.
> On Mon, Jun 13, 2016 at 8:52 PM, Technion <technion@REDACTED> 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 mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions