Merge branch 'pr690' into pr-merger

This commit is contained in:
Christoph Klaffl 2023-03-20 22:07:09 +01:00
commit e6f40483eb
No known key found for this signature in database
GPG Key ID: 8FC1D76EED4970D2
1 changed files with 3 additions and 5 deletions

View File

@ -29,21 +29,19 @@ apt install debhelper libcapture-tiny-perl libconfig-inifiles-perl pv lzop mbuff
Clone this repo, build the debian package and install it (alternatively you can skip the package and do it manually like described below for CentOS): Clone this repo, build the debian package and install it (alternatively you can skip the package and do it manually like described below for CentOS):
```bash ```bash
# Download the repo as root to avoid changing permissions later git clone https://github.com/jimsalterjrs/sanoid.git
sudo git clone https://github.com/jimsalterjrs/sanoid.git
cd sanoid cd sanoid
# checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!) # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!)
git checkout $(git tag | grep "^v" | tail -n 1) git checkout $(git tag | grep "^v" | tail -n 1)
ln -s packages/debian . ln -s packages/debian .
dpkg-buildpackage -uc -us dpkg-buildpackage -uc -us
apt install ../sanoid_*_all.deb sudo apt install ../sanoid_*_all.deb
``` ```
Enable sanoid timer: Enable sanoid timer:
```bash ```bash
# enable and start the sanoid timer # enable and start the sanoid timer
sudo systemctl enable sanoid.timer sudo systemctl enable --now sanoid.timer
sudo systemctl start sanoid.timer
``` ```
## CentOS/RHEL ## CentOS/RHEL