docs, scripts: include tmux dep

This commit is contained in:
hayzamjs
2025-03-21 00:21:44 +04:00
parent 710067a407
commit 637b1f4c37
2 changed files with 12 additions and 3 deletions
+4 -3
View File
@@ -20,9 +20,10 @@ These only apply to the development version of Sylve, the production version wil
Running Sylve is pretty easy, but sylve depends on some packages that you can install using `pkg` or the corresponding port to that package. Here's a list of what you'd need:
| Dep | Min. version | Vendored | Optional | Purpose |
| ------------- | ------------ | -------- | -------- | ---------------------- |
| smartmontools | 7.4_2 | No | No | Disk health monitoring |
| Dep | Min. version | Vendored | Optional | Purpose |
| ------------- | ------------ | -------- | -------- | ------------------------------------------------ |
| smartmontools | 7.4_2 | No | No | Disk health monitoring |
| tmux | 3.2 | No | No | Terminal multiplexer, used for the (web) console |
We also need to enable some services in order to run Sylve, you can drop these into `/etc/rc.conf` if you don't have it already:
+8
View File
@@ -35,6 +35,14 @@ else
exit 1
fi
if command -v tmux >/dev/null 2>&1; then
TMUX_VERSION=$(tmux -V)
echo "✅ tmux found: $TMUX_VERSION"
else
echo "❌ Error: tmux is required but not found. Install using 'pkg install tmux'"
exit 1
fi
RC_CONF="/etc/rc.conf"
if grep -q '^smartd_enable="YES"' "$RC_CONF"; then