From 97daba5781bf58a6476c76a2910254bd9cbd329e Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 6 Jan 2022 16:35:41 +0100 Subject: [PATCH] package/mender: remove single hyphen command Single hyphen commands has been removed since Mender 3.0.0 [1] [1] https://github.com/mendersoftware/mender/commit/fd838ec1b08f3d429b1d81607e9c35a87a104ee6 Signed-off-by: Romain Naour Cc: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/mender/S42mender | 2 +- package/mender/mender-client.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mender/S42mender b/package/mender/S42mender index 108fecfea9..dc60f94f8b 100644 --- a/package/mender/S42mender +++ b/package/mender/S42mender @@ -25,7 +25,7 @@ start() { umask 077 start-stop-daemon -S -q -b -m -p /var/run/mender.pid \ - --exec /usr/bin/mender -- -daemon + --exec /usr/bin/mender -- daemon [ $? = 0 ] && echo "OK" || echo "FAIL" } stop() { diff --git a/package/mender/mender-client.service b/package/mender/mender-client.service index 2a5f476ee5..5539a56fd6 100644 --- a/package/mender/mender-client.service +++ b/package/mender/mender-client.service @@ -17,7 +17,7 @@ if [ -L /var/lib/mender \ mkdir -p "$(readlink /var/lib/mender)"; \ fi; \ fi' -ExecStart=/usr/bin/mender -daemon +ExecStart=/usr/bin/mender daemon Restart=on-abort [Install]