about summary refs log tree commit diff
path: root/misc/systemd/nix-worker.service
diff options
context:
space:
mode:
Diffstat (limited to 'misc/systemd/nix-worker.service')
-rw-r--r--misc/systemd/nix-worker.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/systemd/nix-worker.service b/misc/systemd/nix-worker.service
new file mode 100644
index 000000000000..170108885392
--- /dev/null
+++ b/misc/systemd/nix-worker.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Helper daemon for managing secure, multi-user Nix stores
+After=syslog.target
+
+[Service]
+Type=simple
+#PIDFile=/var/run/tuned/tuned.pid
+#BusName=com.redhat.tuned
+ExecStart=/usr/bin/nix-worker --daemon
+
+[Install]
+WantedBy=multi-user.target