mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
ensure network be up before staring clickhouse
This commit is contained in:
parent
8140b2f75a
commit
f56653f43e
4
debian/clickhouse-server.init
vendored
4
debian/clickhouse-server.init
vendored
@ -3,8 +3,8 @@
|
|||||||
# Provides: clickhouse-server
|
# Provides: clickhouse-server
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Required-Start:
|
# Required-Start: $network
|
||||||
# Required-Stop:
|
# Required-Stop: $network
|
||||||
# Short-Description: Yandex clickhouse-server daemon
|
# Short-Description: Yandex clickhouse-server daemon
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
|
2
debian/clickhouse-server.service
vendored
2
debian/clickhouse-server.service
vendored
@ -1,5 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=ClickHouse Server (analytic DBMS for big data)
|
Description=ClickHouse Server (analytic DBMS for big data)
|
||||||
|
Requires=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
Reference in New Issue
Block a user