mirror of
https://github.com/AlchemillaHQ/Sylve.git
synced 2026-06-14 00:46:34 +03:00
docs, scripts: include tmux dep
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user