It would make sense to give a short description on how to setup the modbus proxy as a service (systemd)...
I don't know, if this should go to the "readme" directly, since it might be different depending on the host system... therefore, it might be something for a wiki instead?
Therefore I haven't added this to the readme and made a pr... if you want, I can add it :)
I have moved the config file to /usr/lib/mproxy-conf.yaml
go to /etc/systemd/system/
use nano to create a service file nano mproxy.service
the file should contain the following information:
5. `run systemctl daemon-reload`
6. `systemctl enable mproxy.service`
7. `systemctl start mproxy.service`
With the command systemctl status mproxy.service can you check, if the software / service was started successfully and if it is running.
It would make sense to give a short description on how to setup the modbus proxy as a service (systemd)... I don't know, if this should go to the "readme" directly, since it might be different depending on the host system... therefore, it might be something for a wiki instead? Therefore I haven't added this to the readme and made a pr... if you want, I can add it :)
/usr/lib/mproxy-conf.yaml
/etc/systemd/system/
nano mproxy.service
[Service] Type=simple Restart=always ExecStart = modbus-proxy -c ./usr/lib/mproxy-conf.yaml
[Install] WantedBy=multi-user.target