Skip to content

Commit 46a328b

Browse files
Merge pull request #170 from TonimatasDEV/remove-wings-warning
chore(wings): Remove the self-update warning
2 parents 746ed53 + f73bcde commit 46a328b

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

docs/wings/update.mdx

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import Admonition from '@theme/Admonition';
2+
import Tabs from '@theme/Tabs';
3+
import TabItem from '@theme/TabItem';
24

35
# Updating Wings
46

@@ -10,31 +12,31 @@ Updating Wings is a painless process and should take less than a minute to compl
1012
|:-------------:|:-------------:|:---------:|
1113
|1.0.0+ | 1.0.0+ | ✅︎ |
1214

13-
<Admonition type="warning">
14-
If you are updating from < 1.0.0-beta9. This won't work!
15-
16-
If you do not wish to use the command and wish to do it manually, then follow the standard update process below.
17-
18-
```sh
19-
sudo wings update
20-
sudo systemctl restart wings
21-
```
22-
23-
</Admonition>
24-
2515
## Download Update
2616

27-
First, download the updated wings binary into `/usr/local/bin`. You will need to stop Wings briefly.
28-
2917
<Admonition type="tip">
3018
Running servers **will not** be affected.
3119
</Admonition>
3220

33-
```sh
34-
sudo systemctl stop wings
35-
sudo curl -L -o /usr/local/bin/wings "https://github.com/pelican-dev/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
36-
sudo chmod u+x /usr/local/bin/wings
37-
```
21+
<Tabs>
22+
<TabItem value="Self-update">
23+
First, you need to run the Wings auto-updater, which is included starting from **beta9**.
24+
25+
```sh
26+
sudo wings update
27+
```
28+
</TabItem>
29+
<TabItem value="Manual update">
30+
First, download the updated wings binary into `/usr/local/bin`. You will need to stop Wings briefly.
31+
32+
```sh
33+
sudo systemctl stop wings
34+
sudo curl -L -o /usr/local/bin/wings "https://github.com/pelican-dev/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
35+
sudo chmod u+x /usr/local/bin/wings
36+
```
37+
</TabItem>
38+
</Tabs>
39+
3840

3941
## Restart
4042

0 commit comments

Comments
 (0)