While these unit files were good for a user install, they were not
appropriate for running system services. Since most users nowadays
use rad node to manage their node, it makes more sense for the unit
files to be oriented towards server use.
While these unit files were good for a user install, they were not
appropriate for running system services. Since most users nowadays
use rad node to manage their node, it makes more sense for the unit
files to be oriented towards server use.
I would favour keeping the httpd’s TCP address in a file in $RAD_HOME and let rad web and the systemd service draw the default connection from there. Additionally, the port could be randomised on initialising the file to some value in the higher range. Port 8080 is used by numerous HTTP servers by default and it is kind of annoying to block it in a long-running application.