Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(automated): Update docs from Gitbook #769

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 1 addition & 35 deletions docs/ssh-no-ports/guides/upgrade-guide/device-upgrade-sshnpd.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,41 +68,7 @@ The service will restart using the new binary that has been put in place.

### Tmux session

To restart the service running in the tmux session, we will use the tmux send-keys command:

```bash
tmux send-keys -t sshnpd C-c C-p C-m
```

<details>

<summary>If you're curious how this command works</summary>

```bash
tmux send-keys -t sshnpd
```

Tells tmux that we want to send some key inputs to it.

```
C-c
```

Sends the key bind Ctrl + c to the tmux session. Ctrl + c terminates the current program execution.

```
C-p
```

Sends the key bind Ctrl + p to the tmux session. Ctrl + p recalls the previous command.

```
C-m
```

Sends the key bind C + m to the tmux session. Ctrl + m sends a return, telling tmux to run the command.

</details>
The installer automatically restarts your tmux session, no other steps required!

### Headless (cron + nohup)

Expand Down