Skip to content

Conversation

@RealGreenDragon
Copy link
Contributor

Fixes #38 .

I refactored this Docker image with s6-overlay to manage processes well and especially to restart amuleweb if it crashes.

It is based on a little trick: if amuleweb is already running wait its PID to finish, otherwise start new instance.

It runs amuleweb --amule-config-file=/home/amule/.aMule/amule.conf instead of a standalone amuleweb because:

  • We emulate better amuleweb started by amuled (I didn't see issues in all my tests)
  • Seems standalone amuleweb starts with default webserver instead of what we choiced if we use remote.conf (maybe another bug...)

I tried to not alter too much current aMule configuration initialization code:

  • Added some comments
  • Added tags to all printf to identify the service that print them
  • Added missing INCOMING_DIR/TEMP_DIR documentation
  • Variable SCRIPT_DEBUG to enable sh scripts debug without rebuild the image
  • Restart amuled using s6 instead kill
  • A service dedicated to crond

@RealGreenDragon RealGreenDragon force-pushed the s6 branch 3 times, most recently from f6f3c92 to e0a23e6 Compare December 26, 2025 11:00
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.

Amuleweb stops at random

1 participant