I want the service to auto restart on reboot of system. It's already placed in init.d file, but am not getting what can be modified to get it restarted by some other group of users?
Asked
Active
Viewed 375 times
0
1 Answers
0
What you are trying to do is accomplished with:
chkconfig <service> on
on CentOS/Fedora/RHEL
and with:
update-rc.d <service> defaults
on Ubuntu/debian.
Both commands need to be run as root

Bruno9779
- 1,384
ps -p 1 -o comm=
– Feb 22 '17 at 18:13