Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System service enable problem #264

Open
PNetrox opened this issue Sep 2, 2023 · 6 comments
Open

System service enable problem #264

PNetrox opened this issue Sep 2, 2023 · 6 comments

Comments

@PNetrox
Copy link

PNetrox commented Sep 2, 2023

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 [email protected] 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
Copy link
Contributor

kakra commented Sep 2, 2023

beesd ;-)

@PNetrox
Copy link
Author

PNetrox commented Sep 2, 2023

beesd ;-)

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

@kakra
Copy link
Contributor

kakra commented Sep 2, 2023

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

@PNetrox
Copy link
Author

PNetrox commented Sep 2, 2023

Yes i did

@PNetrox
Copy link
Author

PNetrox commented Sep 2, 2023

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
Copy link
Contributor

kakra commented Sep 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants