mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #60650 from peter279k/improve_init_script
Using Required-start/stop to improve init script
This commit is contained in:
commit
5f9717a0c3
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: clickhouse-server
|
# Provides: clickhouse-server
|
||||||
|
# Required-Start: $network
|
||||||
|
# Required-Stop: $network
|
||||||
|
# Should-Start: $time
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Should-Start: $time $network
|
|
||||||
# Should-Stop: $network
|
|
||||||
# Short-Description: clickhouse-server daemon
|
# Short-Description: clickhouse-server daemon
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user