diff --git a/INSTALL.md b/INSTALL.md index 12ffcea..c90d5d1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -20,7 +20,9 @@ Install prerequisite software: ```bash -apt install libconfig-inifiles-perl libcapture-tiny-perl pv lzop mbuffer + +apt install debhelper libcapture-tiny-perl libconfig-inifiles-perl pv lzop mbuffer + ``` 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): diff --git a/packages/debian/rules b/packages/debian/rules index ddd77b0..8cadf58 100755 --- a/packages/debian/rules +++ b/packages/debian/rules @@ -16,7 +16,7 @@ override_dh_auto_install: @mkdir -p $(DESTDIR)/usr/share/doc/sanoid; \ cp sanoid.conf $(DESTDIR)/usr/share/doc/sanoid/sanoid.conf.example; @mkdir -p $(DESTDIR)/lib/systemd/system; \ - cp debian/sanoid-prune.service $(DESTDIR)/lib/systemd/system; + cp debian/sanoid-prune.service debian/sanoid.timer $(DESTDIR)/lib/systemd/system; override_dh_installinit: dh_installinit --noscripts