mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Using Required-start/stop to improve init script
This commit is contained in:
parent
1b042be13b
commit
0e4d8d0312
@ -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