Elukey has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/404460 )
Change subject: Use /run instead of /var/run in the source ...................................................................... Use /run instead of /var/run in the source Not applicable to the Debian package, but good idea to have nevertheless. Change-Id: I8ebb79914f5c883c594cd7731f3fcba2de1d50a8 --- M kafkatee.conf.example M kafkatee.h 2 files changed, 4 insertions(+), 4 deletions(-) Approvals: Elukey: Verified; Looks good to me, approved diff --git a/kafkatee.conf.example b/kafkatee.conf.example index 60e6065..8ba4a00 100644 --- a/kafkatee.conf.example +++ b/kafkatee.conf.example @@ -33,7 +33,7 @@ ####################################################################### # Pid file location -# Default: /var/run/kafkatee.pid +# Default: /run/kafkatee.pid #pid.file.path = kafkatee.pid # Daemonize (background) @@ -106,7 +106,7 @@ # Offset file directory. # Each topic + partition combination has its own offset file. # Default: current directory -#kafka.topic.offset.store.path = /var/run/offsets/ +#kafka.topic.offset.store.path = /var/cache/kafkatee/offsets/ # If the request offset was not found on broker, or there is no # initial offset known (no stored offset), then reset the offset according @@ -349,4 +349,4 @@ ####################################################################### # Include other config file -#include local.conf \ No newline at end of file +#include local.conf diff --git a/kafkatee.h b/kafkatee.h index f65c9ee..235ad5c 100644 --- a/kafkatee.h +++ b/kafkatee.h @@ -45,7 +45,7 @@ #include <librdkafka/rdkafka.h> #define KAFKATEE_CONF_PATH "/etc/kafkatee.conf" -#define KAFKATEE_PID_FILE_PATH "/var/run/kafkatee.pid" +#define KAFKATEE_PID_FILE_PATH "/run/kafkatee.pid" #define _DBG(fmt...) do { \ if (conf.log_level > 6) { \ -- To view, visit https://gerrit.wikimedia.org/r/404460 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8ebb79914f5c883c594cd7731f3fcba2de1d50a8 Gerrit-PatchSet: 1 Gerrit-Project: analytics/kafkatee Gerrit-Branch: master Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org> Gerrit-Reviewer: Elukey <ltosc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits