2023-07-02 15:26:02 +02:00
|
|
|
#!/bin/sh -e
|
2023-07-02 15:19:41 +02:00
|
|
|
cd /srv/minecraft/bin
|
2023-07-02 15:26:02 +02:00
|
|
|
if [ -f "$1" ]; then
|
|
|
|
sudo -u minecraft screen "./${1}"
|
|
|
|
else
|
|
|
|
>&2 echo "Le serveur \"${1}\" n'existe pas."
|
|
|
|
false
|
|
|
|
fi
|
2023-06-30 12:45:52 +02:00
|
|
|
|