Create an account on the HP Community to personalize your profile and ask a question
01-31-2019 01:29 PM
We have a management agent that we installed on the thin client, but it has a service that it needs to run. I have tried both systemd and by creating a service file in /etc/init.d/* but neither will run when I reboot the system. What is needed to enable a service to run on boot.
02-13-2019 06:28 PM
Kind of bummed you have not recieved a response to this. I have the same question. Were you able to get your service started? I went a different route and updated '/etc/rc.local' with the path to my script but did not work on reboot. If I execute '/etc/init.d/rc.local start' it works but just for that session.
I also tried adding '@reboot /path/to/my/script' to crontab but that does not work either.
02-14-2019 08:23 AM
No response from my 2LS HP rep about this issue. I was able to get my script to run by creating another bash script that would check to see if the process was running and start it if not. I then cron'ed that script to run every 5 minutes. It would be much better to have it as a normal service running from init.d or even from rc.local, as I tried before, and I am still willing to change it if someone knows. But this will get me over the hump..
Didn't find what you were looking for? Ask the community