summaryrefslogtreecommitdiff
path: root/chaperone.d/getmyip.conf
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2019-10-17 10:52:02 -0400
committerMicah Anderson <micah@riseup.net>2019-10-17 10:52:02 -0400
commit7e78f79b18530d34481da2cc942e275b74d110ad (patch)
treef54cea5f181225032133f634f7297e6674fcabad /chaperone.d/getmyip.conf
parenta11da39e1fb9c4d6d336d83aae6a58238d8a4a98 (diff)
[docker] Switch to using chaperone for init
This will allow us to setup a cronjob that will once per night download the geoipdb update.
Diffstat (limited to 'chaperone.d/getmyip.conf')
-rw-r--r--chaperone.d/getmyip.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/chaperone.d/getmyip.conf b/chaperone.d/getmyip.conf
new file mode 100644
index 0000000..4b24a39
--- /dev/null
+++ b/chaperone.d/getmyip.conf
@@ -0,0 +1,5 @@
+getmyip.service: {
+ type: forking,
+ command: "/usr/local/bin/getmyip -notls",
+ exit_kills: true
+}