Hello,
I wrote the two following scripts in /etc/init.d/, made them executable (chmod +x filename), and added to rc-update as default services (rc-update add scriptname default).
When I start the system they doesn't start, but if i call manually "/etc/inid.d/scriptname start", the programs ar launched correctly.
I want to start them as default, where am i wrong?

Another question: when i start those services (manually like is described above), and want to stop one of them (/etc/init.d/scriptname stop), all two were killed because they have the same name in "ps". Is it possible to append a string to the process name? otherwise how can i stop only one of them?
Thanks

Take another look at the fine documentation. The start-stop-daemon function is designed to handle this problem. It puts the process id of the started process in the pidfile on startup and then kills that process on shutdown.

You really either need to read the documentation or at the very least try to mimic the scripts that are already in /etc/init.d.

i got some problems, solved
1) by adding #!/usr/bin/python3.2 in the first line of those .py scripts
2) by converting one of them with dos2unix because i got this error
/usr/bin/python3.2^M: bad interpreter: No such file or directory