summaryrefslogtreecommitdiffstats
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03 17:57:20 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03 17:59:23 -0400
commite35d6f78dc797150451f5134833afa0ecdf4a241 (patch)
tree052a38cce623d3d6e5075023a229e5f32c441238 /nix.spec.in
parent522ecab9b83902de5a3010b50b9532e376cbba4c (diff)
Rename nix-worker to nix-daemon
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 9d93c654d..822684c5e 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -139,7 +139,7 @@ chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/nix.sh
%if ! 0%{?rhel}
# install systemd service descriptor
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system
-cp -p misc/systemd/nix-worker.service \
+cp -p misc/systemd/nix-daemon.service \
$RPM_BUILD_ROOT%{_prefix}/lib/systemd/system/
%endif
@@ -173,8 +173,8 @@ chgrp %{nixbld_group} /nix/store
chmod 1775 /nix/store
%if ! 0%{?rhel}
# Enable and start Nix worker
-systemctl enable nix-worker.service
-systemctl start nix-worker.service
+systemctl enable nix-daemon.service
+systemctl start nix-daemon.service
%endif
%files
@@ -186,7 +186,7 @@ systemctl start nix-worker.service
%exclude %dir %{perl_vendorarch}/auto/
%{_prefix}/libexec/*
%if ! 0%{?rhel}
-%{_prefix}/lib/systemd/system/nix-worker.service
+%{_prefix}/lib/systemd/system/nix-daemon.service
%endif
%{_datadir}/emacs/site-lisp/nix-mode.el
%{_datadir}/nix