Bash script made to install and administrate a Conan Exiles server running on Linux (Ubuntu 16.04). Include a Discord bot to send server informations on a specific channel.
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_stop
you have the kill commandexec kill -SIGINT $pid
but what i´ve learned is that when usingexec
the shell terminates after the command so the proper use will bekill -SIGINT $pid
withoutexec