Commit graph

5 commits

Author SHA1 Message Date
Karl Palsson
7f651d102d net/mosquitto: chown data directory
The package creates a "mosquitto" user, but the support added for
persistence creates the data directory as root running the init script.
Properly chown the newly created directory to ensure it's writable.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-08-30 11:41:34 +00:00
Karl Palsson
e1720e5849 mosquitto: support optionally writing pidfiles
Uses procd built in pid file support, rather than mosquittos built in
support.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-04-11 14:51:28 +00:00
Karl Palsson
02caa85cb3 mosquitto: convert init script to procd
Adds support for persistence settings.
Bumps package version for new init script.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:28:03 +00:00
Karl Palsson
05aa35194e mosquitto: Include viable stub config file
This should always have been available in the mosquitto package itself.
This file needs to exist in basic form to allow the init scripts to even check whether it exists.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:18:47 +00:00
Karl Palsson
39ea72b186 mosquitto: use mirrored files/ tree
Instead of manually copying files and renaming on install, use the nice
clean "files/<mirror>" structure and just $(CP) them into place.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-03-07 12:18:43 +00:00