• [1]Consulting • [2]Publications • [3]Tools □ [4]Why is my PowerPoint (.pptx) so large? [5]TechOverflowTechOverflowTechOverflow • [6]Consulting • [7]Publications • [8]Tools □ [9]Why is my PowerPoint (.pptx) so large? Create a systemd service for your docker-compose project in 10 seconds Run this in the directory where docker-compose.yml is located: curl -fsSL https://techoverflow.net/scripts/create-docker-compose-service.sh | sudo bash /dev/stdin This script will automatically create  a systemd service that starts docker-compose up and shuts down using docker-compose down. Our script will also systemctl enable the script (i.e. start automatically on boot) and systemctl start it (start it immediately). How it works The command above will download the script from TechOverflow and run it in bash: #!/bin/bash # Create a systemd service that autostarts & manages a docker-compose instance in the current directory # by Uli Köhler - https://techoverflow.net # Licensed as CC0 1.0 Universal SERVICENAME=$(basename $(pwd)) echo "Creating systemd service... /etc/systemd/system/${SERVICENAME}.service" # Create systemd service file sudo cat >/etc/systemd/system/$SERVICENAME.service <