Commit Graph

71 Commits

Author SHA1 Message Date
proller
7be103b4da init.d scropt logdir permission fix 2017-02-15 19:11:16 +03:00
proller
ed659bb64e Create core dir: dont crash if have no permissions (#486)
* Create core dir: dont crash if have no permissions

* debian postinst: Fix changing owner of old /opt/clickhouse

* space

* fix

* fix
2017-02-14 16:11:46 +04:00
proller
b46d27b086 debian postinst: Fix changing owner of old /opt/clickhouse 2017-02-14 00:03:03 +04:00
proller
d452f8dcd7 Init script compatibility fix 2017-02-03 18:01:33 +03:00
proller
cad398371d Init.d sctipt fixes 2017-02-03 16:55:16 +03:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
Vladimir Chebotarev
cc7db759fe create_init_script: Avoid generation of init file each configuration phase. [#METR-21516] 2016-12-13 14:09:22 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00
Alexey Milovidov
349fd1aca8 Removed logrotate [#MTRSADMIN-2107]. 2016-07-29 19:46:11 +03:00
Alexey Milovidov
1e67f93c82 Better way to test for instruction set [#TESTIRT-9485]. 2016-06-26 08:17:26 +03:00
Alexey Milovidov
bc7fd56bd3 Fixed error [#METR-20000]. 2016-06-10 23:31:24 +03:00
Alexey Milovidov
94530b01dc Workarounds for Openstack machines [#METR-20000]. 2016-06-10 22:36:35 +03:00
Alexey Milovidov
46f5444bd9 Better [#METR-20000]. 2016-06-10 16:07:37 +03:00
Alexey Milovidov
7a43a6ff53 Fixed warning in postinst [#METR-20000]. 2016-05-31 05:40:03 +03:00
Vladimir Chebotarev
524da774e4 tools: Improved init.d template. [#METR-20000] 2016-05-27 23:31:35 +03:00
Alexey Milovidov
83f33bcdb7 Setting limit on number of open files in init script (in case when pam_limits module not loaded) [#METR-21262]. 2016-05-11 23:36:11 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Pavel Kartavyy
100443d5b2 add dependency for init, logrotate 2015-04-16 11:51:47 +03:00
Pavel Kartavyy
d18abaec6b add component to install 2015-04-16 11:49:36 +03:00
Pavel Kartavyy
cac04c89b2 init script: fix warning when daemon installed first time 2015-03-25 18:49:11 +03:00
Pavel Kartavyy
db117fe7e8 init script: sudo is not required for status 2015-03-25 16:30:48 +03:00
Pavel Kartavyy
f0d6526834 init script: sudo is not required for status 2015-03-25 16:30:48 +03:00
Pavel Kartavyy
47fb93b32b init.d: fix condstart [#METR-15023] 2015-02-10 14:35:14 +03:00
Pavel Kartavyy
1829949d6e init.d: lock should be released in child process after fork 2014-12-29 21:52:50 +03:00
Pavel Kartavyy
d9e9cf6f11 init.d: use flock insted of creating/removing files 2014-12-29 20:31:30 +03:00
Pavel Kartavyy
a2daa37412 init.d: changed shell to bash
exec -a doesn't work in some shells
2014-12-11 19:55:25 +03:00
Pavel Kartavyy
a0ecb65de5 init.d: change shell 2014-12-09 20:17:58 +03:00
Pavel Kartavyy
446cafeb03 logprotate: support multi processes on one machine 2014-12-09 17:10:59 +03:00
Pavel Kartavyy
17b25aa8a3 init.d: better 2014-12-09 16:17:51 +03:00
Pavel Kartavyy
190eae3550 init.d: add dependency to xmlstarlet for daemons. 2014-12-09 15:46:01 +03:00
Pavel Kartavyy
36613a3120 template: renamed run programs 2014-12-03 15:09:00 +03:00
Pavel Kartavyy
ca1997b5f7 tiny improvements [#METR-13763] 2014-12-03 14:15:29 +03:00
Pavel Kartavyy
9ad1be3bbb init.d: better [#METR-14003] 2014-12-01 21:03:47 +03:00
Pavel Kartavyy
2544b901a3 init.d: add message when process unexpectedly terminated [#METR-14003] 2014-12-01 20:42:39 +03:00
Pavel Kartavyy
970d316b00 init.d: fixed error 2014-12-01 20:31:44 +03:00
Pavel Kartavyy
5d0c627024 init.d: start several daemons simultaneously [#METR-13724]
add number to logfile and pidfile
2014-12-01 12:57:48 +03:00
Pavel Kartavyy
31af725ba1 logrotate: trusty needs 644 mod [#METR-13605] 2014-11-07 17:53:56 +03:00
Pavel Kartavyy
6ad87c955c dbms: renamed init.d and cron script [#METR-12543] 2014-09-12 14:37:18 +04:00
Pavel Kartavyy
dcf240df8b added missed init script for clickhouse-server-base[#METR-12543] 2014-09-11 16:54:13 +04:00
Pavel Kartavyy
b8549c7f06 added missed init script for clickhouse-server-base[#METR-12543] 2014-09-11 16:38:07 +04:00
Michael Kolupaev
a218a56ccf saving processed config to config-preprocessed.xml (this file is saved just for reference, it's never actually read). [#METR-8956] 2014-02-26 11:46:03 +04:00
Michael Kolupaev
fa13a4d71c config processing: removed all config.xml files, moved config.conf in their place; updated all daemons to use config.xml instead of config.conf; updated init.d script template to not preprocess config. [#METR-8956] 2014-02-24 16:53:21 +04:00
Michael Kolupaev
0fe9960a1c slightly fixed init.d script template: added missing commands to help message. [#METR-2807] 2014-02-20 16:21:17 +04:00
Alexey Milovidov
c35d19ec09 Fixed logrotate [#METR-9946]. 2014-02-10 12:41:00 +00:00
Alexey Milovidov
2588a6f6e0 Fixed error in CMakeLists.txt [#METR-2807]. 2014-01-09 13:44:40 +00:00
Alexey Milovidov
2e0943fb4f Added logrotate to all daemons [#METR-2807]. 2014-01-09 13:37:19 +00:00
Michael Razuvaev
b1a89efc27 logrotate/template - исправление [#CONV-7929] 2013-07-02 11:35:38 +00:00
Michael Razuvaev
2f15450ff1 Добавить конфиг для logrotate каждому демону(еще потребуется внесение изменений в CMakeLists каждого демона, пока только для ███████████ сделал) [#CONV-7929] 2013-06-26 14:37:20 +00:00
Michael Razuvaev
931e307835 Из ███████████ из reqreq викинул 2 демона,
init.d скрипт поправлен [#CONV-4914]
2012-05-29 13:58:33 +00:00
Maxim Nikulin
8ac99af01e сервис должен останавливаться без наличия бинарника 2011-03-21 14:16:55 +00:00