FritzJo / maintenance-toolkit

A collection of simple scripts to automate maintenance tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maintenance-toolkit

A collection of simple scripts to automate maintenance tasks

Details

update_docker.sh

Description

This script starts an update of the operating system and pulls the newest docker image for every image, that is currently in use. It also restarts every docker-compose.yml to use the new image.

Supported operating systems

  • Ubuntu

How-To

For the script to work, a special folder structure is required:

+-- dockerapp1
|   +-- docker-compose.yml
|   +-- ...
+-- dockerapp2
|   +-- docker-compose.yml
|   +-- ...
+-- dockerapp3
|   +-- docker-compose.yml
|   +-- ...
+-- ...

The top-level directory of these "dockerapp" folders has to be inserted in the $DOCKERPATH variable inside the script.

workstation_setup.sh

Description

Very basic script to install the most important tools on a linux workstation.

Currently the script installs:

  • vim
  • tmux
  • git
  • tree
  • htop
  • curl
  • zsh
  • ranger

Supported operating systems

  • Ubuntu

How-To

Just execute the script with:

./workstation_setup.sh

website_check.sh

Description

Checks if a website is currently available from the host system.

Supported operating systems

  • Linux (requires bash and curl)

How-To

Create a file called websites.txt, containing every site you want to check. The script iterates over the lines of this file as soon as you execute it.

./website_check.sh

About

A collection of simple scripts to automate maintenance tasks

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%