• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
HP Recommended
t520 Thin Client
Linux

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.

2 REPLIES 2
HP Recommended

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.  

 

-Beach

HP Recommended

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..

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.