mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-06-18 04:50:03 +02:00
Rearrange and organize sections.
This commit is contained in:
parent
537844bb3f
commit
2dda1b613a
4 changed files with 47 additions and 45 deletions
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