Probably a completely dummy question
running ps aux I see the line
root 1988 0.0 6.6 7680460 560128? Sl Jun08 263: 56 / usr / bin / java -Xmx1200M -jar /opt/apache-jena-fuseki-2.5.0/fuseki-server.jar
I know this fuseki server starts at boot time, system is CentOS Linux 7.9.2009.
How to find out (see) the script that contains the launch command?
I'm an applied programmer, but they asked me to help ...
Thank you.
Dummy question - which script contains command to start
Re: Dummy question - which script contains command to start
If that "service" is set up as systemd unit, then the unit would be included in the lists shown by these:
If it has legacy initscript, that should be listed by:
Of course, those names do not need to look similar to the programs they run.
Logically, the script should be within /etc/ and one can search strings from files: grep -r fuseki /etc
Code: Select all
sudo systemctl
sudo systemctl status
Code: Select all
sudo chkconfig --list
Logically, the script should be within /etc/ and one can search strings from files: grep -r fuseki /etc