Skip to content

Commit c45acf0

Browse files
jeffgdotorgjeremystretch
authored andcommitted
Fixes: Use systemctl enable --now shortcut in docs #15249
1 parent 8afbb44 commit c45acf0

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

docs/installation/1-postgresql.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ This section entails the installation and configuration of a local PostgreSQL da
3131
Once PostgreSQL has been installed, start the service and enable it to run at boot:
3232

3333
```no-highlight
34-
sudo systemctl start postgresql
35-
sudo systemctl enable postgresql
34+
sudo systemctl enable --now postgresql
3635
```
3736

3837
Before continuing, verify that you have installed PostgreSQL 12 or later:

docs/installation/2-redis.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414

1515
```no-highlight
1616
sudo yum install -y redis
17-
sudo systemctl start redis
18-
sudo systemctl enable redis
17+
sudo systemctl enable --now redis
1918
```
2019

2120
Before continuing, verify that your installed version of Redis is at least v4.0:

docs/installation/4-gunicorn.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ sudo systemctl daemon-reload
2727
Then, start the `netbox` and `netbox-rq` services and enable them to initiate at boot time:
2828

2929
```no-highlight
30-
sudo systemctl start netbox netbox-rq
31-
sudo systemctl enable netbox netbox-rq
30+
sudo systemctl enable --now netbox netbox-rq
3231
```
3332

3433
You can use the command `systemctl status netbox` to verify that the WSGI service is running:

0 commit comments

Comments
 (0)