aboutsummaryrefslogtreecommitdiff
path: root/databases/clickhouse/files
diff options
context:
space:
mode:
authorVeniamin Gvozdikov <vg@FreeBSD.org>2017-04-25 10:47:21 +0000
committerVeniamin Gvozdikov <vg@FreeBSD.org>2017-04-25 10:47:21 +0000
commitc921d1fdf21490fed6b5beacda98485fc8200284 (patch)
tree468e937e7fcc4bab4f7c9090bc44123859fdee74 /databases/clickhouse/files
parentacb21dbf6326bc856d541d9a6e9c0b8d9a84f961 (diff)
downloadports-c921d1fdf21490fed6b5beacda98485fc8200284.tar.gz
ports-c921d1fdf21490fed6b5beacda98485fc8200284.zip
- update to 1.1.54214
PR: ports/218666 Submitted by: proler@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=439372
Diffstat (limited to 'databases/clickhouse/files')
-rw-r--r--databases/clickhouse/files/clickhouse.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/clickhouse/files/clickhouse.in b/databases/clickhouse/files/clickhouse.in
index 7fa89c7129d5..06293a328434 100644
--- a/databases/clickhouse/files/clickhouse.in
+++ b/databases/clickhouse/files/clickhouse.in
@@ -39,15 +39,14 @@ load_rc_config ${name}
: ${clickhouse_rundir="/var/run/clickhouse"}
: ${clickhouse_user="clickhouse"}
: ${clickhouse_group="clickhouse"}
-: ${clickhouse_logdir="/var/log/clickhouse"}
: ${clickhouse_dbdir="/var/db/clickhouse"}
: ${clickhouse_flags=""}
-: ${clickhouse_args="--server --config-file ${clickhouse_config} ${clickhouse_flags}"}
+: ${clickhouse_pidfile="${clickhouse_rundir}/clickhouse.pid"}
+: ${clickhouse_args="--server --daemon --pid-file ${clickhouse_pidfile} --config-file ${clickhouse_config} ${clickhouse_flags}"}
-command=/usr/sbin/daemon
-procname=/usr/local/bin/clickhouse
-pidfile=${clickhouse_rundir}/clickhouse.pid
-command_args="-c -f -p ${pidfile} ${procname} ${clickhouse_args}"
+command=%%PREFIX%%/bin/clickhouse
+pidfile=${clickhouse_pidfile}
+command_args=${clickhouse_args}
required_files=${clickhouse_config}
start_precmd=clickhouse_prestart