diff options
author | Michel Alexandre Salim <michel@sylvestre.me> | 2012-05-27T10·34+0700 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-31T12·59-0400 |
commit | a7ed1f67ee5dbbdbe45e15e6461b5f7c886747d8 (patch) | |
tree | 7f2f5dd30374f3f66b3738f1585404941567f73b /misc | |
parent | 892234630594ea87a1b9bc945077c82c419af6d3 (diff) |
On systems with SystemD, install the service descriptor for nix-worker, and enable and start it
Diffstat (limited to 'misc')
-rw-r--r-- | misc/systemd/nix-worker.service | 12 |
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 |