[erlang-questions] Pipes - systemd
Tristan Sloughter
t@REDACTED
Wed Jun 15 16:27:08 CEST 2016
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.
--
Tristan Sloughter
t@REDACTED
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.
>
> https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
>
> 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@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list