Created
February 10, 2021 07:22
-
-
Save CGaskell/182db8e1c8c1afa91558225afab4a4db to your computer and use it in GitHub Desktop.
Run CumulusMX as service on RaspberryPi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=CumulusMX | |
Documentation=https://cumuluswiki.org/a/Main_Page | |
After=network-online.target | |
[Service] | |
User=root | |
Group=root | |
ExecStart=/usr/bin/mono-service -/home/pi/CumulusMX CumulusMX.exe -service | |
Type=forking | |
ExecStopPost=/bin/rm /tmp/CumulusMX.exe.lock | |
[Install] | |
WantedBy=multi-user.target | |
============ | |
- Edit the configuration above and change the path to match your Cumulus MX installation folder | |
- Copy cumulusmx.service to your /etc/systemd/system/ folder | |
- Cumulus can then be started and stopped with the following commands: | |
> systemctl start cumulusmx | |
> systemctl stop cumulusmx | |
- Status and restart are available too: | |
> systemctl restart cumulusmx | |
> systemctl status cumulusmx | |
- If you make a change to the unit file, you need to run the following command so that systemd re-reads your file: | |
> systemctl daemon-reload | |
- To have Cumulus start on reboot, issue the following command: | |
> systemctl enable cumulusmx | |
- Finally, to stop the service running on reboot, use the following: | |
> systemctl disable cumulusmx | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't work, it gives me those codes.

Previously I had a CumulusMX installation as a service that worked immediately and very easily but I can't find how I did it or where it came from.