mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #25921 from ClickHouse/a-fix-for-systemd
Fix for systems with systemd
This commit is contained in:
commit
38d1ce310d
2
debian/clickhouse-server.init
vendored
2
debian/clickhouse-server.init
vendored
@ -93,7 +93,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