schollz/find

mosquitto does not create pid file

オープン

#140 opened on 2017/01/11

 (14 件のコメント) (1 件のリアクション) (0 人の担当者)Go (368 件のフォーク)github user discovery
help wantedquestion

Repository metrics

Stars
 (5,091 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I'm trying to test the new file-based runtime config using a Docker image. On the whole the config file is read and the config options are loaded.

The issue at the moment is that the sample conf file (findserver.conf) specifies that the mosquitto.pid should be read from /var/run/mosquitto.pid which seems logical and according to the mosquitto documentation.

However /var/run/mosquitto.pid is never created in the Docker image and causes findserver to terminate. In fact I can't seem to find it anywhere within the image.

At a guess I'd say there's an issue with mosquitto within the image or maybe it doesn't have correct permissions to create the pid file. Any ideas what's going on?

コントリビューターガイド