We are using saprouter 7.10 Patch level 4 on Linux x86_64 64bit.
We execute below command to start saprouter:
nohup ./saprouter -r &
No issue is several times we have downtimes So we want to include this command in OS startup-shutdown procedure so that during downtimes saprouter automatically get stop and start.
For it, We have below two challenges:
1) First OS startup is taken care by root user So If I include this same command, router will be startup root user only. But We have one user saproutr which is used for router setup and we want to execute router startup with this user only So please suggest what changes I need to make in router start command.
2) At this time to start saprouter I go to same directory where this executable is available So I think I need to add some environment variable to execute this commnd from any directory.
Please suggest me for these points.