diff --git a/etc/systemd/system/aquarium.service.sample b/etc/systemd/system/aquarium.service.sample new file mode 100644 index 00000000..46f0c647 --- /dev/null +++ b/etc/systemd/system/aquarium.service.sample @@ -0,0 +1,14 @@ +[Unit] +Description=aquarium service with docker compose +Requires=docker.service +After=docker.service + +[Service] +Type=forking +RemainAfterExit=true +WorkingDirectory=path to the directory where you installed aquarium> +ExecStart=/usr/bin/docker-compose up -d --remove-orphans +ExecStop=/usr/bin/docker-compose down + +[Install] +WantedBy=multi-user.target