package/mender: Fix incorrectly named service file
authorAdam Duskett <Aduskett@gmail.com>
Fri, 28 Aug 2020 17:08:44 +0000 (10:08 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 28 Aug 2020 20:36:49 +0000 (22:36 +0200)
commitdb751e2c89be128c858d466d5cc689aa16704f6c
treeb07b3998c003643195c79a70f89e0d2c20614442
parent3cf6d708e1d613068a20a8acc4f258aba35ec0eb
package/mender: Fix incorrectly named service file

Many of the mender CLI commands use systemctl commands to get information about
the daemon, such as the PID (IE: systemctl show -p MainPID mender-client).
As seen above, these commands expect the service file to be named
"mender-client" instead of "mender."

As such, in the current state, running a forced update check in the CLI will
result in the following error:
failed to force updateCheck: could not find the PID of the mender daemon.

Changing the name of mender.service to mender-client.service fixes the issue.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mender/mender-client.service [new file with mode: 0644]
package/mender/mender.mk
package/mender/mender.service [deleted file]