mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-06-16 04:34:55 +02:00
Rearrange and organize sections.
This commit is contained in:
parent
537844bb3f
commit
2dda1b613a
4 changed files with 47 additions and 45 deletions
|
|
@ -9,33 +9,3 @@ api: "http://api.example.com:8888"
|
|||
ship:
|
||||
url: "ws://ship.example.com:8080"
|
||||
```
|
||||
|
||||
## Start using scripts
|
||||
|
||||
Start the server using the `start.sh` script.
|
||||
|
||||
```shell
|
||||
./start.sh
|
||||
```
|
||||
|
||||
The logs can be found in `logs` directory (unless specified otherwise in the configuration).
|
||||
|
||||
Stopping the server again is as simple as running.
|
||||
|
||||
```shell
|
||||
./stop.sh
|
||||
```
|
||||
|
||||
## Starting Manually
|
||||
|
||||
If desired, Thalos can also be started manually for quick configuration testing.
|
||||
|
||||
```shell
|
||||
./bin/thalos-server
|
||||
```
|
||||
|
||||
or if you want to specify another config file then the default
|
||||
|
||||
```shell
|
||||
./bin/thalos-server --config /path/to/thalos.yml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -50,19 +50,6 @@ The configuration file is located at `/etc/thalos/config.yml` and contains an ex
|
|||
|
||||
See [Configuration](/docs/configuration) for more information
|
||||
|
||||
## 3. Starting the Server via systemd
|
||||
## 3. Starting the Server
|
||||
|
||||
```shell
|
||||
sudo systemctl enable thalos-server
|
||||
sudo systemctl start thalos-server
|
||||
```
|
||||
|
||||
After executing these commands, the server should be up and running. You can check the logs at `/var/log/thalos.log` (unless specified otherwise in the configuration), or by running `sudo systemctl status thalos-server`.
|
||||
|
||||
### Starting Manually
|
||||
|
||||
If desired, Thalos can also be started manually for quick configuration testing or in cases where running systemd is not preferable:
|
||||
|
||||
```shell
|
||||
/usr/bin/thalos-server --config /etc/thalos/thalos.yml
|
||||
```
|
||||
There are serveral ways to run the server. the most common on debian is via [systemd](/docs/running-the-server#with-systemd) or [manually](/docs/running-the-server#with-systemd)
|
||||
|
|
|
|||
41
docs/running-the-server.md
Normal file
41
docs/running-the-server.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Running the server
|
||||
|
||||
## Start using scripts
|
||||
|
||||
Start the server using the `start.sh` script.
|
||||
|
||||
```shell
|
||||
./start.sh
|
||||
```
|
||||
|
||||
The logs can be found in `logs` directory (unless specified otherwise in the configuration).
|
||||
|
||||
Stopping the server again is as simple as running.
|
||||
|
||||
```shell
|
||||
./stop.sh
|
||||
```
|
||||
|
||||
## Starting Manually
|
||||
|
||||
If desired, Thalos can also be started manually for quick configuration testing.
|
||||
|
||||
```shell
|
||||
./bin/thalos-server
|
||||
```
|
||||
|
||||
or if you want to specify another config file then the default
|
||||
|
||||
```shell
|
||||
./bin/thalos-server --config /path/to/thalos.yml
|
||||
```
|
||||
|
||||
## With systemd
|
||||
|
||||
```shell
|
||||
sudo systemctl enable thalos-server
|
||||
sudo systemctl start thalos-server
|
||||
```
|
||||
|
||||
After executing these commands, the server should be up and running. You can check the logs at `/var/log/thalos.log` (unless specified otherwise in the configuration), or by running `sudo systemctl status thalos-server`.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue