How to add a compiled version of aMule to systemctl?

Hi guys,
I’ve build an svn version of aMuled Adunanza and it seems to works fine but I had to start the daemon typing “amuled -f” every time… how can I add amuled to systemctl just like the osmc transmisison app?

You need to write a systemd unit for this

Sam

Yes I know but… how? :smile:

http://www.freedesktop.org/software/systemd/man/systemd.unit.html

could go crontab -e

then @reboot /path/to/app

I found my problem with the unit file I’ve created: the service type was notify and starting the service will fall on timeout… changing the type to forking works fine! :smile:

Thanks for the response!