mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix for systems with systemd
This commit is contained in:
parent
f16e8c3a4b
commit
a879234192
2
debian/clickhouse-server.init
vendored
2
debian/clickhouse-server.init
vendored
@ -116,7 +116,7 @@ forcestop()
|
||||
service_or_func()
|
||||
{
|
||||
if [ -x "/bin/systemctl" ] && [ -f /etc/systemd/system/clickhouse-server.service ] && [ -d /run/systemd/system ]; then
|
||||
service $PROGRAM $1
|
||||
systemctl $1 $PROGRAM
|
||||
else
|
||||
$1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user