|
From: Liong K. F. <lio...@re...> - 2021-02-26 07:51:26
|
Hi, I just took over a machine running wrapper 64bit 3.5.21. CentOS 7. Quite an old machine. It was developed by pass developer and I am the system admin trying to get the service to start during server reboot. It was disabled previously and had to be restarted manually everytime we reboot the machine. I tried enable it to start on reboot (systemctl enable testwrapper) and the service seems to start like expected. However, the program does not work properly. I then stopped the wrapper and start it manually using the start up script running it directly as root from the folder (./testwrapper start). This way program will work properly. I tried asking some developer about this and they mentioned maybe it is something to do with the environment variables. I am wondering if someone could shed some light into getting this wrapper run on reboot with the proper environment variables or whatever reason it is not working properly. Appreciate any comments. Thank you. -- *Liong Kok Foo* Team Lead, IT Infra REVENUE GROUP OF COMPANIES Email : lio...@re... <mailto:lio...@re...> TEL : +60 3-9212 0505 (ext 1004) FAX : +60 3-6242 8785 ADD : Wisma Revenue Group, No. 12, Jalan Udang Harimau 2, Kepong Business Park, 51200. Kuala Lumpur WEB : www.revenue.com.my <http://www.revenue.com.my/> (http://www.revenue.com.my/ <http://www.revenue.com.my/>) WEB : www.revpay.com.my <http://www.revpay.com.my/> (http://www.revpay.com.my/ <http://www.revpay.com.my/>) |