Skip to content

Commit 59b57e2

Browse files
authored
Merge pull request #475 from fengzeroz/main
Update README & modify neuron.service path
2 parents 4b549cb + 561cc5b commit 59b57e2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README-CN.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ Neuron的层次结构图如下图所示:
6363
### 编译
6464

6565
```shell
66-
$ git clone https://github.com/emqx/neuron
66+
$ git clone -- recursive https://github.com/emqx/neuron
6767
$ cd neuron
68-
$ git submodule update --init
6968
$ mkdir build && cd build
7069
$ cmake .. && make
7170
```

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ The hierarchical layer diagram of Neuron is shown in the figure below:
6262
## Build
6363

6464
```shell
65-
$ git clone https://github.com/emqx/neuron
65+
$ git clone -- recursive https://github.com/emqx/neuron
6666
$ cd neuron
67-
$ git submodule update --init
6867
$ mkdir build && cd build
6968
$ cmake .. && make
7069
```

package/create_neuron_deb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rules.append(mkdeb.FileMap("deb/neuron/preinst", "/DEBIAN/", "r", "preinst"))
1111
rules.append(mkdeb.FileMap("deb/neuron/prerm", "/DEBIAN/", "r", "prerm"))
1212

13-
rules.append(mkdeb.FileMap("neuron.service", "/etc/systemd/system/"))
13+
rules.append(mkdeb.FileMap("neuron.service", "/lib/systemd/system/"))
1414

1515
rules.append(mkdeb.FileMap("neuron.sh", "/opt/neuron/", "x"))
1616
rules.append(mkdeb.FileMap("../build/neuron", "/opt/neuron/", "x"))

0 commit comments

Comments
 (0)