We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
唤醒休眠后systemd运行pacroller会出现该错误: failed to inhibit: the operation inhibition has been requested for is already running
failed to inhibit: the operation inhibition has been requested for is already running
该问题在我的机器上出现的原因是笔记本合盖之后会休眠,再次开盖启动时pacroller会在systemd-suspend.service结束之前启动,导致出现了该问题。
systemd-suspend.service
参考该issue,一个可行的简单解决办法是在pacroller.service中添加ExecStartPre=/bin/sleep 1m在pacroller启动之前延迟一段时间。
pacroller.service
ExecStartPre=/bin/sleep 1m
The text was updated successfully, but these errors were encountered:
I wouldn't ship sleep 1 into pacroller. I believe this problem should be solved by declaring additional unit dependencies.
sleep 1
Sorry, something went wrong.
No branches or pull requests
唤醒休眠后systemd运行pacroller会出现该错误:
failed to inhibit: the operation inhibition has been requested for is already running
该问题在我的机器上出现的原因是笔记本合盖之后会休眠,再次开盖启动时pacroller会在
systemd-suspend.service
结束之前启动,导致出现了该问题。参考该issue,一个可行的简单解决办法是在
pacroller.service
中添加ExecStartPre=/bin/sleep 1m
在pacroller启动之前延迟一段时间。The text was updated successfully, but these errors were encountered: