Updates
This commit is contained in:
@@ -110,12 +110,14 @@ npm start
|
||||
|
||||
## systemd (Linux)
|
||||
|
||||
Prefer the [one-line installer](#one-line-installer-recommended) (`--server`). It installs the Bare binary and writes `peardata.service`.
|
||||
Prefer the [one-line installer](#one-line-installer-recommended) (`--server`). It installs the Bare binary, writes `peardata.service`, adds `peardata` to **`systemd-journal`**, and enables host journal for the Logs tab (`PEARDATA_JOURNAL=1`).
|
||||
|
||||
Manual (matches installer layout):
|
||||
|
||||
```bash
|
||||
# After placing peardata-server + .env under /opt/peardata
|
||||
sudo useradd --system --home /opt/peardata --shell /usr/sbin/nologin peardata # if needed
|
||||
sudo usermod -aG systemd-journal peardata
|
||||
sudo cp deploy/peardata.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now peardata
|
||||
|
||||
Reference in New Issue
Block a user