diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-07 11:18:54 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-07 11:50:55 +0200 |
commit | 84d6936371037559704337614c65007a8e61b5e1 (patch) | |
tree | eb21a77502e0c67d525128e74212606e11ce0ea5 /misc/systemd/nix-daemon.socket.in | |
parent | 8e5fbf4d730b9fcf39eddf5539a206cf19d2cdce (diff) |
Install systemd units
Diffstat (limited to 'misc/systemd/nix-daemon.socket.in')
-rw-r--r-- | misc/systemd/nix-daemon.socket.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.socket.in b/misc/systemd/nix-daemon.socket.in new file mode 100644 index 000000000..9ed39ffe6 --- /dev/null +++ b/misc/systemd/nix-daemon.socket.in @@ -0,0 +1,11 @@ +[Unit] +Description=Nix Daemon Socket +Before=multi-user.target +RequiresMountsFor=@storedir@ +ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket + +[Socket] +ListenStream=@localstatedir@/nix/daemon-socket/socket + +[Install] +WantedBy=sockets.target |