Zygo / bees

Best-Effort Extent-Same, a btrfs dedupe agent
GNU General Public License v3.0
692 stars 56 forks source link

System service enable problem #264

Open PNetrox opened 1 year ago

PNetrox commented 1 year ago

I have issue with systemctl enable command. I use beesd on my OpenMediaVault server, created btrfs partition, installed bees, i confugured them, but when want to enable them as a service i got this error instead:

root@NAS:~# systemctl enable bees@c306b836-ee0b-4c07-b621-ae13fa5d55d9 --now
Failed to enable unit: Unit file bees@c306b836-ee0b-4c07-b621-ae13fa5d55d9.service does not exist.

Starting it with beesd gives no errors.

My config:

UUID=c306b836-ee0b-4c07-b621-ae13fa5d55d9

DB_SIZE=$((8*256*1024*1024))

Any solutions?

kakra commented 1 year ago

beesd ;-)

PNetrox commented 1 year ago

beesd ;-)

root@NAS:~# systemctl enable beesd@c306b836-ee0b-4c07-b621-ae13fa5d55d9 --now Failed to enable unit: Unit file beesd@c306b836-ee0b-4c07-b621-ae13fa5d55d9.service does not exist.

kakra commented 1 year ago

Did you install it or run it from the source directory?

PNetrox commented 1 year ago

Yes i did

PNetrox commented 1 year ago

I tried even start it on my test omv virtual machine, and it gives me same error, is it possible that omv is the reason?

kakra commented 1 year ago

I think you did not install the build, or installed to a completely different directory, so the service file won't be in an expected location.