File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ Below are the instructions for updating containers:
186
186
187
187
## Versions
188
188
189
+ * ** 22.02.19:** - Catch term and clean exit.
189
190
* ** 07.02.19:** - Add pipeline logic and multi arch.
190
191
* ** 15.08.18:** - Rebase to alpine linux 3.8.
191
192
* ** 12.02.18:** - Pull transmission from edge repo.
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ app_setup_block: |
73
73
74
74
# changelog
75
75
changelogs :
76
+
77
+ - { date: "22.02.19:", desc: "Catch term and clean exit." }
76
78
- { date: "07.02.19:", desc: "Add pipeline logic and multi arch." }
77
79
- { date: "15.08.18:", desc: "Rebase to alpine linux 3.8." }
78
80
- { date: "12.02.18:", desc: "Pull transmission from edge repo." }
@@ -90,3 +92,4 @@ changelogs:
90
92
- { date: "09.08.16:", desc: "Rebase to alpine linux." }
91
93
- { date: "06.12.15:", desc: "Separate mapping for watch folder." }
92
94
- { date: "16.11.15:", desc: "Initial Release." }
95
+
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
- /usr/sbin/crond -f -S -l 0 -c /etc/crontabs
3
+ exec \
4
+ /usr/sbin/crond -f -S -l 0 -c /etc/crontabs
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
3
- exec \
3
+ _term() {
4
+ echo "Caught SIGTERM signal!"
5
+ /usr/bin/transmission-remote --exit
6
+ }
7
+
8
+ trap _term SIGTERM
9
+
4
10
s6-setuidgid abc /usr/bin/transmission-daemon \
5
- -g /config -c /watch -f
11
+ -g /config -c /watch -f &
12
+
13
+ wait
You can’t perform that action at this time.
0 commit comments