diff --git a/clone/clone b/clone/clone index fef09de..28becec 100755 --- a/clone/clone +++ b/clone/clone @@ -245,7 +245,7 @@ step7(){ # (9) Define config alias with ssh-key # echo " (.) Define alias config"; - echo "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; + echo "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n\tStrictHostKeyChecking\tno" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; sudo chown 666:666 /mnt/home/sats/.ssh/config; sudo chmod 444 /mnt/home/sats/.ssh/config; diff --git a/clone/utility/service_unit b/clone/utility/service_unit index c236263..b0fb76a 100644 --- a/clone/utility/service_unit +++ b/clone/utility/service_unit @@ -4,7 +4,7 @@ Description=SATS (Secure Authentication and Tracking SYSTEM) Daemon [Service] Type=simple User=sats -ExecStart=/bin/sh /home/sats/satsd/boot service 2>> /home/sats/satsd/log/boot.log >> /home/sats/satsd/log/boot.log +ExecStart=/bin/sh /home/sats/satsd/boot Restart=on-abort