Add systemctl way to run server as daemon

This commit is contained in:
Chun-Sheng, Li 2021-12-28 09:27:04 +08:00 committed by GitHub
parent bb2f85966e
commit 2e141b77db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,6 +152,12 @@ If you do not have `service` command, run as
$ sudo /etc/init.d/clickhouse-server start
```
If you have `systemctl` command, run as
``` bash
$ sudo systemctl start clickhouse-server.service
```
See the logs in the `/var/log/clickhouse-server/` directory.
If the server does not start, check the configurations in the file `/etc/clickhouse-server/config.xml`.