2023-11-18 17:57:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-11-18 23:56:43 +00:00
|
|
|
systemctl restart freehl
|
2023-11-18 17:57:55 +00:00
|
|
|
|
2023-11-18 23:56:43 +00:00
|
|
|
find ./ -type f -name "server.cfg" -print | while read LINE
|
2023-11-18 17:57:55 +00:00
|
|
|
do
|
2023-11-18 23:56:43 +00:00
|
|
|
GAMEDIR=$(dirname "$LINE" | cut -d '/' -f 2)
|
|
|
|
echo systemctl restart freehl@$GAMEDIR
|
|
|
|
##systemctl restart "$FILE"
|
2023-11-18 17:57:55 +00:00
|
|
|
done
|