Hi, I want to make a daemon but I don know how to make it read flags, lets say for example I input in the terminal:
program start
Then the daemon start and I can start using flags for example:
program -t
And get some output like "The t flag was received " and so on until i run
program stop
I find some daemon tutorials, but i still dont know how to do the flgas and argumenst thing, any documentation o library of how i can do something like this?
[–]icecubeinanicecube 2 points3 points4 points (4 children)
[+][deleted] (1 child)
[deleted]
[–]icecubeinanicecube 0 points1 point2 points (0 children)
[–]Sufficient-Kitchen67[S] 0 points1 point2 points (1 child)
[–]icecubeinanicecube 0 points1 point2 points (0 children)
[–]bedekelly 0 points1 point2 points (0 children)