We built an AiP server to handle a persistent connection to SAP.
Painful, but functionally quite awesome now that it's done.
However the Systems guy says his life would be way better if AiP followed a "best practices" rule, and wrote it's pid to a a file, so it could be built into a more standard service,
e.g.
# service aip start|stop|restart
Is there a library and some setting for this?
A scan of the default code seems to say it's not a core functionality.
If I were to build a piece for this, where would be the best place architecturally to place it?
I know I could just hack it into:
AiP/Runner.php
But it seems like this should have a better home as some sort of class by itself, maybe configurable in the composer.json
Worst case, for my use we'll probably drop it in AiP/Runner.php unless we can find a better place for it to live.
Jeff