RaTTuS wrote: ↑Mon Oct 01, 2018 11:18 am
depends on the program ,
but if this is started via systemd look at the service file as it may have options set for restart
what is this program ,
where has it come from
why do you want to stop it
It is a C program which sends sensor data to a server. I made some changes, since I couldnt shut the first version I can not test properly.
It is under /usr/ folder.
What should I search in the systemd folder?
Edit:
topguy wrote: ↑Mon Oct 01, 2018 11:24 am
Could have been helpful to know the name of the program.
If the program is installed as a "service" then the "systemd" is responsible of restarting the service if it stops for any reason.
To list all the services registered use the command "systemctl".
To correctly stop a service use "systemctl stop name".
To disable it completely use "systemctl disable name".
Thanks for helpful comment. I couldn't find the name of my program in the list when I enter systemctl