[Nix-dev] Custom directories
Daniel Hlynskyi
abcz2.uprola at gmail.com
Fri May 27 16:25:40 CEST 2016
yes, but this looks non-declarative...
OTOH this could be normally done in some existing service (in `preStart`
section), but 16.03 doesn't support `preStart` for containers. Waiting for
16.09...
2016-05-25 22:24 GMT+03:00 Vladimír Čunát <vcunat at gmail.com>:
> On 05/25/2016 04:26 PM, Daniel Hlynskyi wrote:
> > I'd like for directory /media/logs/dwarfs to exist, but I don't know
> > where to put _the_ mkdir.
>
> You could create a "service" that does the mkdir, chmod, etc. on
> activation.
>
> --Vladimir
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160527/41234dc6/attachment.html
More information about the nix-dev
mailing list