[Nix-dev] systemd tmpfiles service

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Sep 17 11:48:46 CEST 2013


Hi,

On 16/09/13 18:14, Rickard Nilsson wrote:

> Has anyone been thinking of implementing the systemd tmpfiles service 
> (http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html) 
> in NixOS? It seems useful for non-root services that need directories in 
> /run/ before they are started. Would be nice to let systemd take care of 
> the file creation instead of doing mkdir in preStart etc.

I'm interested in it mainly for /tmp cleanup.  Using it for creating
prerequisite directories of services could be useful, but you have to be careful
to ensure the right dependencies between those services and systemd-tmpfiles.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list