about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPiotr Szubiakowski <pszubiak@eso.org>2019-08-27T08·35+0200
committerPiotr Szubiakowski <pszubiak@eso.org>2019-08-27T08·35+0200
commitd45922472434783bdc29610479a735dd236229a3 (patch)
tree18e7cafdda8f3c70608685444e9712ed6ed66e1c
parent15ee2bc2fe6768a2ec1b312b6682299bbc407d86 (diff)
nix-daemon.service: add install section.
Signed-off-by: Piotr Szubiakowski <pszubiak@eso.org>
-rw-r--r--misc/systemd/nix-daemon.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 5fc04a3f5713..25655204d4df 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -7,3 +7,6 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
 [Service]
 ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
 KillMode=process
+
+[Install]
+WantedBy=multi-user.target