package/mender: remove single hyphen command
Single hyphen commands has been removed since Mender 3.0.0 [1]
[1] fd838ec1b0
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b2af6bef9c
commit
97daba5781
@ -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() {
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user