bisakhmondal commented on issue #1840:
URL: 
https://github.com/apache/apisix-dashboard/issues/1840#issuecomment-835418522


   Hii @fregie, it's nice to see your concern :)
   
   Could you please elaborate on the "standalone tools" part you mentioned? 
   If it is writing unit files corresponding to the different os-specific 
service managers, that's exactly what getting handled by the `takama/daemon` 
[[ref](https://github.com/takama/daemon/blob/496d69192531c6cb1004380a0be0fcf2031b06f4/daemon_linux_systemd.go#L214-L227)]
 internally. Also if we provide raw unit files, we have to document the steps, 
from copying the unit file to commands required reloading the daemon manager 
for registering the service for a list of OS's and also we have to manually 
manage the lifecycle of those unit files ourselves. The same goes for the shell 
scripts too.
   >we can also use a library to do this to avoid spending a lot of time of us 
dealing with it.
   
   Sorry, didn't get this. Do you feel we missed something or works left to be 
done?
   
   Yes, that's the only instance we went with such a trade-off, yet it doesn't 
touch any of the core logic. Just FYI, if we are running on some hypothetical 
OS where there is no known service manager `manager-api` will work fine if no 
commands related to the service is used.
   
   I just stated our motive behind this current approach but new changes are 
always welcome :)
   Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to