Rename nix-worker to nix-daemon
This commit is contained in:
parent
522ecab9b8
commit
e35d6f78dc
15 changed files with 49 additions and 41 deletions
|
@ -59,9 +59,9 @@ clearManifests() {
|
|||
|
||||
startDaemon() {
|
||||
# Start the daemon, wait for the socket to appear. !!!
|
||||
# ‘nix-worker’ should have an option to fork into the background.
|
||||
# ‘nix-daemon’ should have an option to fork into the background.
|
||||
rm -f $NIX_STATE_DIR/daemon-socket/socket
|
||||
nix-worker --daemon &
|
||||
nix-daemon &
|
||||
for ((i = 0; i < 30; i++)); do
|
||||
if [ -e $NIX_STATE_DIR/daemon-socket/socket ]; then break; fi
|
||||
sleep 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue