File tree 3 files changed +16
-5
lines changed
3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
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
+
7
15
## [ v0.2.0]
8
16
9
17
systemd service improvements (thanks to @hermsi1337 )
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ For the `uninstall` action **dcsg** remove the systemd service it created earlie
63
63
64
64
You can download pre-built binaries for Linux (64bit, ARM 5, ARM 6 and ARM 7) from [ github.com » andreaskoch » dcsg » releases] ( /releases/latest ) :
65
65
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 )
70
70
71
71
``` 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
73
73
chmod +x /usr/local/bin/dcsg
74
74
```
75
75
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ Description={{ .ProjectName }} Service
77
77
After=network.target
78
78
79
79
[Service]
80
+ Restart=always
81
+ RestartSec=10
82
+ TimeoutSec=300
80
83
WorkingDirectory={{ .ProjectDirectory }}
81
84
ExecStartPre=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" pull
82
85
ExecStart=/usr/bin/env docker-compose -p "{{ .ProjectName }}" -f "{{ .DockerComposeFile }}" up
You can’t perform that action at this time.
0 commit comments