Page 2 of 2
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 2:17 pm
by freddie
That is starting CumulusMX via systemd. I meant starting the mono service itself in a terminal. Try this:
Code: Select all
/usr/bin/mono-service -l:/tmp/CumulusMX.exe.lock -d:/home/install/CumulusMX CumulusMX.exe -service
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 2:41 pm
by ChaserPeek
Thanks Freddie
I tried (with name folder fixed) :
Code: Select all
/usr/bin/mono-service -l:/tmp/CumulusMX.exe.lock -d:/home/ubuntu/CumulusMX CumulusMX.exe -service
And IT WORKS! with terminal off also.
Well, can I run this command after booting of OS, like a demon... and Can I kill it without reboot ? I don't know if I used the right words to explain
Thanks.
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 2:47 pm
by mcrossley
Did you edit the service file before or after copying it to /etc/system/systemd?
If after, then you will need to run the command
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 2:55 pm
by freddie
ChaserPeek wrote: ↑Fri 11 Dec 2020 2:41 pmAnd IT WORKS! with terminal off also.
This means that it is all working apart from the systemd bit. As mcrossley says, if you did any editing of the cumulusmx.service file then you need to run the command he mentions to refresh the systemd configuration.
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 4:10 pm
by ChaserPeek
Yes, I tried
but no results: I have same error after run
Very strange issue... Maybe is a bug of my SO ? Sorry I'm new on linux.
If you want, I can send you in PM my ip-address:22 and you can see the system. Can be a good idea ?
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 8:20 pm
by freddie
You do not have /use/bin/mono-service on your system. I checked the version of mono installed and it is 3.1. You need to have at least mono version 5. You should also ensure you have installed the mono-complete package.
Re: cumulusmx.service
Posted: Fri 11 Dec 2020 9:20 pm
by ChaserPeek
Thanks Freddie,
I have installed mono-complete and IT WORKS !
Before mono-complete I have installed mono-devel from here
https://www.mono-project.com/download/s ... wnload-lin but of course I done lot of messy installation.
For now it works, but can be a good solution start over with ubuntu 20.04 and "more intelligent" installations.
Thank you for now !

Re: cumulusmx.service
Posted: Mon 14 Dec 2020 8:40 pm
by ChaserPeek
Hey Guys, can I ask if is possible to run Cumulus as service but with different port, example 8080
I have tried
Code: Select all
ExecStart=/usr/bin/mono-service -d:/home/ubuntu/CumulusMX CumulusMX.exe -port 8080 -service
but not works, I have CumulusMX running always on 8998
Re: cumulusmx.service
Posted: Mon 14 Dec 2020 9:39 pm
by mcrossley
Did you reload the systemctl daemon after editing the file?
Re: cumulusmx.service
Posted: Mon 14 Dec 2020 10:41 pm
by ChaserPeek
Thanks Mcrossley, IT WORKS !
