2
# Updates all packages on the server, but stops the widelands website before
3
# doing so, in case mysql gets updated - it always results in really ugly
4
# errors for users otherwise.
6
# This script requires sudo.
10
if [ -z "${TMUX}" ]; then
11
echo "Run inside screen or tmux in case SSH gets updated."
17
sudo systemctl stop wl-website
21
sudo systemctl start wl-website
23
sudo apt autoremove -y