summarylogtreecommitdiffstats
path: root/iroh-ssh-git.install
blob: 82d9c8038e18e331ad5e39e365bd5c2f6522f2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  echo ":: To start the iroh-ssh server as a user service:"
  echo "     systemctl --user enable --now iroh-ssh-server"
  echo ":: Then get your endpoint ID with:"
  echo "     iroh-ssh info"
  echo ":: To configure extra arguments (e.g. relay URLs), create:"
  echo "     ~/.config/iroh-ssh/environment"
  echo "   with contents like:"
  echo "     IROH_SSH_EXTRA_ARGS=--extra-relay-url https://my-relay.example.com"
}

post_upgrade() {
  post_install
}