This commit is contained in:
root 2021-02-08 18:43:46 +01:00
parent a6f38971cc
commit 9ecf1bb63f

View file

@ -51,5 +51,8 @@ cp -r mods /home/minetest/.minetest/mods
echo "Fix privileges on /home/minetest" echo "Fix privileges on /home/minetest"
chown minetest:minetest /home/minetest/ -cR chown minetest:minetest /home/minetest/ -cR
if [ -z "$1" ]
then
echo "Start minetestsrv service" echo "Start minetestsrv service"
systemctl start minetestsrv systemctl start minetestsrv
fi