summaryrefslogtreecommitdiff
path: root/sys-apps/nix/files/nix-1.11.6-systemd.patch
blob: 5a77d7c77e5ccc20394ae21a61290a8bc2644f4c (plain)
1
2
3
4
5
6
7
8
9
10
Make 'nix-daemon' a good unit for 'systemctl enable nix-daemon.service'.
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 5fc04a3..2565520 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -9 +9,4 @@ ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
 KillMode=process
+
+[Install]
+WantedBy=multi-user.target