Skip to content

Commit c8131f6

Browse files
author
Andreas Koch
committed
Merge branch 'release/v0.3.0'
2 parents bf4a066 + 05ab966 commit c8131f6

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [v0.3.0] - 2017-03-11
8+
9+
Timeouts and restart policy
10+
11+
### Added
12+
- Add a startup timeout (see: dcsg#4)
13+
- Add restart-policy (see: dcsg#4)
14+
715
## [v0.2.0]
816

917
systemd service improvements (thanks to @hermsi1337)

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ For the `uninstall` action **dcsg** remove the systemd service it created earlie
6363

6464
You can download pre-built binaries for Linux (64bit, ARM 5, ARM 6 and ARM 7) from [github.com » andreaskoch » dcsg » releases](/releases/latest):
6565

66-
- [Download for dcsg (Linux 64bit)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_amd64)
67-
- [Download for dcsg (Linux ARM5)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm5)
68-
- [Download for dcsg (Linux ARM6)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm6)
69-
- [Download for dcsg (Linux ARM7)](https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_arm7)
66+
- [Download for dcsg (Linux 64bit)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_amd64)
67+
- [Download for dcsg (Linux ARM5)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm5)
68+
- [Download for dcsg (Linux ARM6)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm6)
69+
- [Download for dcsg (Linux ARM7)](https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_arm7)
7070

7171
```bash
72-
curl -L https://github.com/andreaskoch/dcsg/releases/download/v0.1.1-alpha/dcsg_linux_amd64 > /usr/local/bin/dcsg
72+
curl -L https://github.com/andreaskoch/dcsg/releases/download/v0.2.0/dcsg_linux_amd64 > /usr/local/bin/dcsg
7373
chmod +x /usr/local/bin/dcsg
7474
```
7575

installer.go

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ Description={{ .ProjectName }} Service
7777
After=network.target
7878
7979
[Service]
80+
Restart=always
81+
RestartSec=10
82+
TimeoutSec=300
8083
WorkingDirectory={{ .ProjectDirectory }}
8184
ExecStartPre=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" pull
8285
ExecStart=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" up

0 commit comments

Comments
 (0)