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

Use linux watchdog to restart the Pi when the remote app crashes #23

Closed
martonborzak opened this issue Jun 7, 2019 · 2 comments · Fixed by #75
Closed

Use linux watchdog to restart the Pi when the remote app crashes #23

martonborzak opened this issue Jun 7, 2019 · 2 comments · Fixed by #75
Assignees
Labels
enhancement New feature or request low priority Non urgent or cosmetic issue

Comments

@martonborzak
Copy link
Member

/dev/watchdog

@martonborzak
Copy link
Member Author

Instead, maybe just relaunch the app. Create a simple script that periodically checks if the app is running.

@zehnm
Copy link
Member

zehnm commented Oct 27, 2019

This issue should be transferred to remote-os.

Relaunch can be defined in the systemd app.service definition:

...
[Service]
ExecStart=/usr/bin/yio-remote/app-launch.sh
Restart=on-failure
Type=forking
PIDFile=/var/run/remote.pid
...

app-launch.sh probably needs a little rework since the remote process is also forked there.
A system watchdog would still be a good idea for hard crashes.

@martonborzak martonborzak transferred this issue from YIO-Remote/remote-software Nov 1, 2019
@zehnm zehnm added the enhancement New feature or request label Nov 26, 2019
@martonborzak martonborzak added the low priority Non urgent or cosmetic issue label Jan 1, 2020
@zehnm zehnm self-assigned this Mar 20, 2021
@zehnm zehnm added this to the Full System Update milestone Mar 20, 2021
@zehnm zehnm closed this as completed in #75 Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Non urgent or cosmetic issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants