Using Required-start/stop to improve init script

This commit is contained in:
Peter 2024-03-01 21:24:42 +08:00
parent 1b042be13b
commit 0e4d8d0312
No known key found for this signature in database
GPG Key ID: CFF8BB30B2E6D6FD

View File

@ -1,10 +1,11 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: clickhouse-server
# Required-Start: $network
# Required-Stop: $network
# Should-Start: $time
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Should-Start: $time $network
# Should-Stop: $network
# Short-Description: clickhouse-server daemon
### END INIT INFO
#