X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ssh%2Fstart-on-target.in;h=9e3a60d7a9d951dec4a4ac09c19f671e1c190317;hb=a8103b6f53a89fcbaeea225ab1a4d6624b242176;hp=a21c6d1e49dea4097e3ed71acdd02f5d1ff8222f;hpb=259e135e5835efabec2e1ede086a441cac366f3d;p=staging%2Fxdg-launcher.git diff --git a/ssh/start-on-target.in b/ssh/start-on-target.in index a21c6d1..9e3a60d 100644 --- a/ssh/start-on-target.in +++ b/ssh/start-on-target.in @@ -1,5 +1,5 @@ #!/bin/sh -# +# # File: start-on-target.sh # Author: Fulup Ar Foll @ IoT.bzh # Object: Forward signal (SIGTERM) to remote process @@ -13,7 +13,7 @@ export RSYNC_PREFIX=@RSYNC_PREFIX@/@PROJECT_NAME@ export AFB_REMPORT=@AFB_REMPORT@ export AFB_TOKEN=@AFB_TOKEN@ -exec ssh -o "StrictHostKeyChecking no" -tt $RSYNC_TARGET << EOF +exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -tt $RSYNC_TARGET << EOF afb-daemon --workdir=$RSYNC_PREFIX --port=$AFB_REMPORT --roothttp=./htdocs --ldpath=./lib --verbose --token=$AFB_TOKEN & PID_DAEMON=\$!