Skip to content

Commit

Permalink
Fix sed error in CentOS7 building guide (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuRenJiasWorld authored Sep 7, 2020
1 parent 3c6a4a5 commit 44f567b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Find the actual location of et:
Correct the service file (see [#180](https://github.com/MisterTea/EternalTerminal/issues/180) for details).

```
sudo sed -ie "s|ExecStart=.*[[:space:]]|ExecStart=$(which etserver) |" /etc/systemd/system/et.service
sudo sed -ie "s|ExecStart=[^[:space:]]*[[:space:]]|ExecStart=$(which etserver) |" /etc/systemd/system/et.service
```

Alternativelly, open the file /etc/systemd/system/et.service in an editor and correct the `ExectStart=...` line to point to the correct path of the `etserver` binary.
Expand Down

0 comments on commit 44f567b

Please sign in to comment.