diff options
author | Liu Xiaoyi <circuitcoder0@gmail.com> | 2022-11-21 13:46:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 13:46:22 +0800 |
commit | 4d55acf5154639cd1a54435ace28cd497b5a9eb8 (patch) | |
tree | 4efd23676ce71683ee30146ac3379d01b53c5add /doc/manual/src | |
parent | cc620d961f1fa68038ef44f5947fc053708ab3ad (diff) |
Apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'doc/manual/src')
-rw-r--r-- | doc/manual/src/installation/installing-binary.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md index 1b7db59cd..8cdd64df6 100644 --- a/doc/manual/src/installation/installing-binary.md +++ b/doc/manual/src/installation/installing-binary.md @@ -91,23 +91,21 @@ extension. The installer will also create `/etc/profile.d/nix.sh`. To begin, if you are on Linux with systemd, remove the Nix daemon service: ```console -sudo systemctl stop nix-daemon.socket sudo systemctl stop nix-daemon.service -sudo systemctl disable nix-daemon.socket -sudo systemctl disable nix-daemon.service +sudo systemctl disable nix-daemon.socket nix-daemon.service sudo systemctl daemon-reload ``` Then you can remove systemd service files: ```console -sudo rm -f /etc/systemd/system/nix-daemon.service /etc/systemd/system/nix-daemon.socket +sudo rm /etc/systemd/system/nix-daemon.service /etc/systemd/system/nix-daemon.socket ``` Also, the installer script uses systemd-tmpfiles (if presents) to create the socket directory. You may also want to remove the configuration for that: ```console -sudo rm -f /etc/tmpfiles.d/nix-daemon.conf +sudo rm /etc/tmpfiles.d/nix-daemon.conf ``` Remove files created by Nix: |