How to install aMule

How to install aMule with WebServer.

Anyone have installed sucessfully installed aMule?

I did a google search and found following

I try to automaticly restart amule when it crashes

# Automatically generated by systemd-sysv-generator

Description=LSB: Daemonized version of aMule.

SuccessExitStatus=5 6
ExecStart=/etc/init.d/amule-daemon start
ExecStop=/etc/init.d/amule-daemon stop

I added this lines to systemd file


after killall amuled amule doesn’t start

systemctl status amule-daemon
● amule-daemon.service - LSB: Daemonized version of aMule.
Loaded: loaded (/etc/init.d/amule-daemon; generated)
Drop-In: /etc/systemd/system/amule-daemon.service.d
Active: active (exited) since Sun 2021-06-27 15:32:08 CEST; 6h ago
Docs: man:systemd-sysv-generator(8)

Jun 27 15:32:07 DietPi systemd[1]: Starting LSB: Daemonized version of aMule....
Jun 27 15:32:08 DietPi systemd[1]: Started LSB: Daemonized version of aMule..
Jun 27 20:59:16 DietPi systemd[1]: /etc/systemd/system/amule-daemon.service.d/dietpi-services_edit.conf:3: Failed to parse service restart specifier, ignoring: yes

Jun 27 21:22:45 DietPi systemd[1]: /etc/systemd/system/amule-daemon.service.d/dietpi-services_edit.conf:3: Failed to parse service restart specifier, ignoring: yes

Jun 27 21:23:00 DietPi systemd[1]: /etc/systemd/system/amule-daemon.service.d/dietpi-services_edit.conf:3: Failed to parse service restart specifier, ignoring: yes

What is wrong with my config?

pls remove following


and add following to [Unit] section

# Restart attempt only 5 times in 1 minute

Restart=yes is invalid and not required as Restart=on-failure is already there and makes what you want I guess: That the service restarts when it crashes.

What Joulinar suggested will additionally limit retries when it fails directly at start.

I btw do not recommend any of those two, especially for such usually not critical services like downloaders. When such a service fails, on start or during operation, there is usually a reason that should be fixed before trying to star it again, like full disk, full memory, invalid config file (e.g. after package upgrade), voltage problems, filesystem corruption or so. In many of those cases, restarting the service over and over is doomed to fail and will make things worse in case :wink:.

I moved to docker and it works out of box.

How do you do that? Sorry, never used docker.

you could install docker from dietpi-software. I would recommend Portainer as well. Portainer is a simply web based management interface for your containers.

I found following container that should be able to run on ARM based SBC’s
There is a description on how to start/setup the container. You could use the docker-compose part and start the container with the help of Portainer. Portainer is offering an option where you could simply copy past the code block in.

Thank you. I will try it as soon as I can.

I’ll have to make a new image for testing, since I don’t want to mess up with my working installation (after so much time I’m not sure I would be able to fix things if I go wrong).

Will the docker installation start up automatically at boot like a regular daemon/service installation?

Yes Docker will start up on boot as all other services. For testing you could simple spin up a VM on your normal computer. We offer a couple of different images for various VM application.