Files
teleport/examples/systemd/post-install
T
Vadym Popov 278dfc84f7 [teleport-update] Move teleport binaries to new path {deb,rpm} (#49110)
* 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
2024-12-16 20:40:02 +00:00

9 lines
209 B
Bash
Executable File

#!/bin/bash
# This post install script is run each time the teleport package is installed/upgraded.
set -eu
echo "Teleport system symlinks creation..."
/opt/teleport/system/bin/teleport-update link-package