All Questions
3
questions
0
votes
1
answer
226
views
Jenkins service user to restart mongodb service
Centos 7.
Usually when I would like to run a sudo command as a non root user, I open up the visudo, and add this line to the right place:
%<userGroup> ALL= NOPASSWD: <command>
when I ...
1
vote
1
answer
96
views
How to list options of a service
On CentOS, there is a service which we normally run service acme_donkey start registry I would like to find out if there are any options to this service, such debug, etc. Is there a way of doing this?...
0
votes
1
answer
164
views
Run go app by service
In centos 6.8 I have a golang app , that run in command go run main.go and I need to create a system service to run it in boot like service httpd.
I know that I have to create file like /etc/rc.d/init....