Script to monitor a process inside a docker container


Recommended Posts

Hi everyone, I'm wondering if someone could help with a script to solve a problem. I'm running aMule inside a docker container, everything works exept for amuleweb that stops working at random. The problem is know, but since the dovelopers of aMule are not so active at this time there's no solution. My idea is to have a script that runs in backgruond and checks if amuleweb is running and restarts that in case it's not working. At the moment I'm resatrting it manually running "amuleweb --amule-config-file=/home/amule/.aMule/amule.conf"; I just want to automate the process...

 

Any help would be very apprectaied. Thanks

Edited by Kayn
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.