Reputation: 25
I have a daemon service (transmission) that timeouts after a few minutes of usage, I started a thread to find out why, but until then I'd like to know if there is a bash command where I can restart the service after it times out for x time? Right now I put a bandaid on it and just made a looping bash script that restarts it after 5 minutes, but i'd prefer to be more efficient until I can fix whatever is going on with the service.
gcsvm: n1-standard-1 (1 vCPU, 3.75 GB memory) running ubuntu-1604-xenial-v20200407 and using gcsfuse to mount storage from a cloud bucket
Upvotes: 0
Views: 215