From e7dd99b9797fba814c231df00e256eaa75565457 Mon Sep 17 00:00:00 2001 From: Andreas Koch Date: Thu, 2 Feb 2017 20:38:41 +0100 Subject: [PATCH 1/4] Point the download links to v0.2.0 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1b9789f..a276ebc 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,13 @@ For the `uninstall` action **dcsg** remove the systemd service it created earlie You can download pre-built binaries for Linux (64bit, ARM 5, ARM 6 and ARM 7) from [github.com » andreaskoch » dcsg » releases](/releases/latest): -- [Download for dcsg (Linux 64bit)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_amd64) -- [Download for dcsg (Linux ARM5)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm5) -- [Download for dcsg (Linux ARM6)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm6) -- [Download for dcsg (Linux ARM7)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm7) +- [Download for dcsg (Linux 64bit)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_amd64) +- [Download for dcsg (Linux ARM5)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm5) +- [Download for dcsg (Linux ARM6)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm6) +- [Download for dcsg (Linux ARM7)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm7) ```bash -curl -L https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_amd64 > /usr/local/bin/dcsg +curl -L https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_amd64 > /usr/local/bin/dcsg chmod +x /usr/local/bin/dcsg ``` From c66b315db75063150a39c42ff764cefa5098afdb Mon Sep 17 00:00:00 2001 From: Hermsi1337 Date: Sat, 18 Feb 2017 16:56:40 +0100 Subject: [PATCH 2/4] Set a higher timeout --- installer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/installer.go b/installer.go index 55e3769..9de6dda 100644 --- a/installer.go +++ b/installer.go @@ -77,6 +77,7 @@ Description={{ .ProjectName }} Service After=network.target [Service] +TimeoutSec=300 WorkingDirectory={{ .ProjectDirectory }} ExecStartPre=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" pull ExecStart=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" up From 31d00a83c28fe2192c254277888f89d456ce6f3b Mon Sep 17 00:00:00 2001 From: Hermsi1337 Date: Fri, 10 Mar 2017 09:22:00 +0100 Subject: [PATCH 3/4] Add restart-policy --- installer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer.go b/installer.go index 9de6dda..c8cc5fe 100644 --- a/installer.go +++ b/installer.go @@ -77,6 +77,8 @@ Description={{ .ProjectName }} Service After=network.target [Service] +Restart=always +RestartSec=10 TimeoutSec=300 WorkingDirectory={{ .ProjectDirectory }} ExecStartPre=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" pull From 05ab966977218f0247f60fa97b0dd0ed2b8fdb01 Mon Sep 17 00:00:00 2001 From: Andreas Koch Date: Sat, 11 Mar 2017 11:06:36 +0100 Subject: [PATCH 4/4] Update the changelog for v0.3.0 --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8ee582..86ca86b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [v0.3.0] - 2017-03-11 + +Timeouts and restart policy + +### Added +- Add a startup timeout (see: dcsg#4) +- Add restart-policy (see: dcsg#4) + ## [v0.2.0] systemd service improvements (thanks to @hermsi1337)