X-Git-Url: http://git.onelab.eu/?p=pl_sshd.git;a=blobdiff_plain;f=pl_sshd.sh;fp=pl_sshd.sh;h=22498231f1a38f519bd782fbc014274d3f165780;hp=3f0b66d343c76af32f693a71bcc70990b1196b34;hb=4a91beaaf934a29e548252ead2ba5ec6558e2174;hpb=8e0081ff1bc14c09b2aab9e0c69b4557ea7e7d51 diff --git a/pl_sshd.sh b/pl_sshd.sh index 3f0b66d..2249823 100755 --- a/pl_sshd.sh +++ b/pl_sshd.sh @@ -21,4 +21,4 @@ name=pl_sshd echo "$@" | grep -q -- '-p[ 0-9]' || port='-p 806' -exec /usr/sbin/sshd -o "PidFile /var/run/$name.pid" $port "$@" +exec -a /usr/sbin/pl_sshd /usr/sbin/sshd -o "PidFile /var/run/$name.pid" $port "$@"