I´ve been using your script piece by piece for my own server mostly to learn to be better with shell scripts.
In the function conan_stop you have the kill command exec kill -SIGINT $pid but what i´ve learned is that when using exec the shell terminates after the command so the proper use will be kill -SIGINT $pid without exec
I´ve been using your script piece by piece for my own server mostly to learn to be better with shell scripts.
In the function
conan_stopyou have the kill commandexec kill -SIGINT $pidbut what i´ve learned is that when usingexecthe shell terminates after the command so the proper use will bekill -SIGINT $pidwithoutexec