Skip to content

Commit ad84fa5

Browse files
committed
update documentation with masking of stellar-core systemd service
1 parent e438bb1 commit ad84fa5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,24 @@ If you choose to install the individual packages, you will need to install your
130130

131131
### Installation
132132

133+
**Recent stellar-core packages now start the service post installation**, if you would like to retain the previous behaviour and prevent stellar-core from starting automatically, you could use `systemctl mask`.
134+
135+
#### masking the service
136+
137+
if the package is already installed:
138+
139+
```
140+
systemctl mask stellar-core # no start post upgrades
141+
```
142+
143+
if the package is not yet installed:
144+
145+
```
146+
ln -s /dev/null /etc/systemd/system/stellar-core.service # no start post installation
147+
```
148+
149+
#### installing
150+
133151
* `apt-get update && apt-get install stellar-core` or `apt-get update && apt-get install stellar-horizon`
134152
* deploy suitable configs, see [docs](https://www.stellar.org/developers/software/)
135153
* `systemctl start stellar-core` or `systemctl start stellar-horizon`

0 commit comments

Comments
 (0)