Skip to content

Commit

Permalink
expanding server access
Browse files Browse the repository at this point in the history
  • Loading branch information
czue committed Dec 14, 2023
1 parent 8af6d08 commit c51a7fc
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions docs/systems-administration/common-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,23 @@ You can restart individual processes with:
sudo supervisorctl restart <process-name>
```

## Restarting the web server
## Restarting processes

To restart the web server you can run:
Sometimes other processes (te web server, database, etc.) need to be restarted.
To manage those you can find the information in the [overview page](./overview).

```
sudo service nginx restart
```

## Restarting the database

To restart the database you can run:
## Making configuration changes

```
sudo service mysql restart
```
If you need to make any configuration changes, for example, updating passwords or IP addresses,
those happen in the relevant configuration files for whichever service you need to update.

## Restart the SMS gateway
To find the service's configuration file, look it up on the [overview page](./overview).

To restart the SMS gateway you can run:
For example, to update the credentials for the TNM or Airtel SMS gateway, you would modify
the SMS gateway (Kannel) configuration file at `/etc/kannel/kannel.conf`.

```
sudo service kannel restart
```
Typically, whenever you make changes to a service, you also need to restart the service,
as per the instructions above.

## Getting an application shell

Expand Down

0 comments on commit c51a7fc

Please sign in to comment.