diff --git a/src/ansible-semaphore/install-service.sh b/src/ansible-semaphore/install-service.sh index 79f7a05..a4ec4ca 100644 --- a/src/ansible-semaphore/install-service.sh +++ b/src/ansible-semaphore/install-service.sh @@ -42,7 +42,7 @@ if [ \$installed_version != \$current_version ]; then systemctl stop semaphore.service echo "Downloading semaphore version \$current_version..." curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep 'linux_amd64.deb$' | wget -i - -O /opt/semaphore_linux_amd64.deb - DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install /opt/semaphore_linux_amd64.deb + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical dpkg -i /opt/semaphore_linux_amd64.deb echo "Starting semaphore.service..." systemctl start semaphore.service echo "semaphore update finished!" @@ -141,7 +141,7 @@ cat << EOF > /etc/semaphore/config.json "slack_alert": false, "ldap_enable": false, "ldap_needtls": false, - "ssh_config_path": "~/.ssh/", + "ssh_config_path": "/home/semaphore/.ssh/", "demo_mode": false, "git_client": "" }