There exists also a systemd.tmpfiles.rules option. (which doesn't trigger
on system activation, howewer, only on boot)

I had problems with creating folders in activation scripts on mounted
disks, can't say any concrete for now, just experience.

2017-02-10 18:14 GMT+02:00 Mark Gardner <[email protected]>:

>
>
> On Fri, Feb 10, 2017 at 11:11 AM, David Izquierdo <[email protected]>
> wrote:
>
>> Is there any reason not to use `mkdir -p`, to spare yourself the if?
>
>
> ​Didn't think of it...? :-)
>
> Mark
> --
> Mark Gardner
> --
>
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to