mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
On systems with SystemD, install the service descriptor for nix-worker, and enable and start it
This commit is contained in:
parent
8922346305
commit
a7ed1f67ee
2 changed files with 28 additions and 0 deletions
12
misc/systemd/nix-worker.service
Normal file
12
misc/systemd/nix-worker.service
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue