mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 23:31:08 +08:00
* Move teleport binaries to new path * Use link/unlink command to manage links Move teleport.service to new path * Move teleport binaries under standard path for distroless Cleanup * Fix wrong move path * Create missing directory * Rename link/unlink commands * Exclude teleport-update from docker image Systemd reload now managed by teleport-update Make safe unlink not to block package removal * Add teleport-update to AMI image build * Fix RPM build, fpm automatically manage scripts * Fix AMI build, add missing teleport.service * Move binaries to /opt/teleport/system
9 lines
220 B
Bash
Executable File
9 lines
220 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This before remove script is run each time the teleport package is removed.
|
|
|
|
set -eu
|
|
|
|
echo "Removing symlinks from Teleport system paths..."
|
|
/opt/teleport/system/bin/teleport-update unlink-package || true
|