I'm in the process of creating a systemd daemon from a C/C++-compiled executable. However, while the program runs, I'd like to be able to change some of the program parameters. (As is possible with other daemons on Linux).
By this I mean changing, for instance, a "destination_server_ip" variable in my process through the command line, perhaps with something like
systemctl myProgram --destIP="1::2::3::4:5"
Is there a standard way / framework to implement this?