I run a daemon which cannot be restarted via init.d or service command.
Is there a way to restart a process just by passing a process id to some command?
process
I run a daemon which cannot be restarted via init.d or service command.
Is there a way to restart a process just by passing a process id to some command?
Best Answer
Killing or Reconfiguring a Daemon without Restarting
Restarts the process 1721 by sending the hangup signal.
Causes the daemon to reload its config file by sending the hangup signal.
Restarts inetd by sending signal number 1 which is the hangup signal.
The difference between this example and the previous one is the signal is called by name here rather than number.
Reference: http://www.comptechdoc.org/os/linux/usersguide/linux_ugprocesses.html