11 lines
236 B
Bash
11 lines
236 B
Bash
#!/bin/bash
|
|
echo
|
|
echo
|
|
if command -v nginx &> /dev/null;then
|
|
echo "Let's update the nginx settings"
|
|
cp -f "/etc/nginx/sites-available/Minecraft" "/etc/bds-maneger/Minecraft-Nginx-$(TZ=UTC+3 date +"%d_%m_%Y")"
|
|
fi
|
|
echo
|
|
echo
|
|
exit 0
|