kumquat-buildroot/package/mender
Angelo Compagnucci 63739c5c25 package/mender: fix sysv startup script
Mender is a service explicitly written for systemd and so it doesn't
fork on background, doesn't redirect outputs and doesn't create a pid
file by itself.
To make the service running correctly is therefore necessary to use the
-m switch of start-stop-daemon to create the pid file and -b option to
send the process to background.
Logging is preserved because the service will log anyway on syslog.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-02-15 23:00:12 +01:00
..
artifact_info package/mender: adding artifact_info file 2019-02-05 14:08:47 +01:00
Config.in
device_type package/mender: adding device_type file 2019-02-05 14:09:17 +01:00
mender.conf
mender.hash package/mender: change to use release archive 2019-02-14 21:47:23 +01:00
mender.mk package/mender: fix missing /var/lib 2019-02-15 22:58:20 +01:00
mender.service
readme.txt package/mender: adding a readme file 2019-02-05 14:09:36 +01:00
S42mender package/mender: fix sysv startup script 2019-02-15 23:00:12 +01:00
server.crt

=== Notes on using Mender on Buildroot
======================================
Default configurations files
----------------------------

Buildroot comes with a default artifact_info and device_type configuration files
in /etc/mender. They contain default values, and thus they should be overridden
on a production system.

The simplest way to do it is to change these files in an overlay or in a post
build script.

Configuring mender with certificates
------------------------------------

Mender uses TLS to communicate with the management server, and if you use a
CA-signed certificate on the server, you should select the ca-certificates
package otherwise it doesn't work.