mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Add --now option to enable and start the service
This commit is contained in:
parent
17d5877916
commit
a7aeb4c00f
@ -36,7 +36,7 @@ if [ "$1" = configure ] || [ -n "$not_deb_os" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/systemctl daemon-reload
|
/bin/systemctl daemon-reload
|
||||||
/bin/systemctl enable clickhouse-server
|
/bin/systemctl enable --now clickhouse-server
|
||||||
else
|
else
|
||||||
# If you downgrading to version older than 1.1.54336 run: systemctl disable clickhouse-server
|
# If you downgrading to version older than 1.1.54336 run: systemctl disable clickhouse-server
|
||||||
if [ -x "/etc/init.d/clickhouse-server" ]; then
|
if [ -x "/etc/init.d/clickhouse-server" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user