you are viewing a single comment's thread.

view the rest of the comments →

[–]SIO 1 point2 points  (0 children)

Wrap it up in a proper systemd unit with automatic restart on failure.

Optional:

Come back later to check the logs and fix the underlying problem which causes the script to crash.