mirror of
https://github.com/CerberusV1/minecraft_deploy.git
synced 2026-01-13 03:23:42 +01:00
added .env
This commit is contained in:
16
deploy.sh
16
deploy.sh
@@ -174,6 +174,22 @@ echo 'tmux new -s minecraft_server "java -Djava.awt.headless=true @user_jvm_args
|
||||
chmod +x $server_dir/start_server.sh
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
# Creating .env for server_manager
|
||||
# --------------------------------------------------------
|
||||
|
||||
touch $management_dir/.env
|
||||
chmod 600 $management_dir/.env
|
||||
echo "# General Information"
|
||||
echo "server_name=${version}" >> .env
|
||||
echo "version=${name}" >> .env
|
||||
echo " "
|
||||
echo "# Paths"
|
||||
echo "main=${working_dir}"
|
||||
echo "server=${server_dir}"
|
||||
echo "management=${management_dir}"
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
# Downloading Start Script
|
||||
# --------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user