-
Notifications
You must be signed in to change notification settings - Fork 65
using device mapper name for systemd unit instead #224
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| [Unit] | ||
| Description=Bees (%i) | ||
| Documentation=https://github.com/Zygo/bees | ||
| After=sysinit.target | ||
| #After=sysinit.target | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd say, simply remove the commented line.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it was a mistake perhaps. I don't know why I wanted it before the |
||
| After=local-fs.target | ||
|
|
||
| [Service] | ||
| Type=simple | ||
|
|
@@ -56,4 +57,4 @@ AmbientCapabilities=CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SYS_ADMI | |
| NoNewPrivileges=true | ||
|
|
||
| [Install] | ||
| WantedBy=basic.target | ||
| WantedBy=multi-user.target | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure about this... While it may fix your problem (and isn't actually incorrect), I rather think that it solves your problem only by accident. Don't get me wrong: I think this change should go into the commit (actually, that's what my custom-crafted unit file also uses). But I think it doesn't reliably solve your problem. I think in case of lvm, there may be another synchronization point missing. What's the output of PS: I wonder why the bees-provided unit file still contains the old broken dependencies. I'm pretty sure this has been discussed before. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This misses the "help" branch condition which has been there previously. Please convert to using
elifand finally end withhelp.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it going to fall to
bees/scripts/beesd.in
Line 69 in fbdfd9b