Scenario / Questions
I write my C++ program and run it as daemon by writing upstart script inside /etc/init/
So my program is automatically started after reboot and can be controlled
sudo service my-service restart
How to allow to restart this service from another non-admin user (that is jenkins integration server)?
At present if my jenkins runs script
service my-service start
it gives me an error:
my-service: unrecognized service
Kubernetes Free Online Tutorial, Kubernetes Beginner Tutorial
DevOps Free Online Tutorial, DevOps Beginner Tutorial
Ansible Free Online Tutorial, Ansible Beginner Tutorial
Docker Free Online Tutorial, Docker Beginner Tutorial
Openstack Free Online Tutorial, Openstack Beginner Tutorial
Disclaimer: This has been sourced from a third party syndicated feed through internet. We are not responsibility or liability for its dependability, trustworthiness, reliability and data of the text. We reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever.