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

UI to restart Home screen and device #27

Merged
merged 2 commits into from Jul 17, 2015
Merged

Conversation

deztructor
Copy link
Contributor

No description provided.

Denis Zalevskiy added 2 commits July 15, 2015 13:30
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
deztructor pushed a commit that referenced this pull request Jul 17, 2015
UI to restart Home screen and device
@deztructor deztructor merged commit 9f5dd56 into master Jul 17, 2015
@@ -0,0 +1,3 @@
#!/bin/bash
nohup sh -c "pkill jolla-settings;systemctl --user --no-block restart lipstick.service" 1>/dev/null 2>/dev/null &

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you kill jolla-settings in first place?
It seems to me that systemctl --user --no-block restart lipstick.service is enough. Am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows to avoid race condition, otherwise jolla-settings could wait for the restart process to end. And when lipstick stops blocked UI application will most probably crash.

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

Successfully merging this pull request may close these issues.

None yet

2 participants