Merge pull request #60650 from peter279k/improve_init_script

Using Required-start/stop to improve init script
This commit is contained in:
Raúl Marín 2024-05-29 11:36:00 +00:00 committed by GitHub
commit 5f9717a0c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
# #