aboutsummaryrefslogtreecommitdiffstats
path: root/main/tlsdate/tlsdated.confd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-11 13:16:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-11 13:16:23 +0000
commit1d9fbe66c6f7e5f3517ea61e1e252a6fb94dfbb1 (patch)
treea38d4c320fe55d5ccb3f573f36f121f10c50f387 /main/tlsdate/tlsdated.confd
parent69ea0b70bc7a777fd1be47cfb34d8437d62b1efe (diff)
downloadaports-1d9fbe66c6f7e5f3517ea61e1e252a6fb94dfbb1.tar.bz2
aports-1d9fbe66c6f7e5f3517ea61e1e252a6fb94dfbb1.tar.xz
main/tlsdate: add init.d scripts
Diffstat (limited to 'main/tlsdate/tlsdated.confd')
-rw-r--r--main/tlsdate/tlsdated.confd15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/tlsdate/tlsdated.confd b/main/tlsdate/tlsdated.confd
new file mode 100644
index 0000000000..d257289cc5
--- /dev/null
+++ b/main/tlsdate/tlsdated.confd
@@ -0,0 +1,15 @@
+# config file for /etc/init.d/tlsdated
+
+# Command to execute to set the time.
+# This are some common tlsdate options:
+# -l: leap (set time regardless of difference)
+# -H: hostname to sync with
+# -x: proxy URL
+TLSDATED_CMD="/usr/bin/tlsdate -l -H www.google.com"
+
+# Additional options; see `man tlsdated` for reference.
+TLSDATED_OPTS=""
+
+# Cache dir. Probably don't need to change this.
+# It matches the compiled-in default.
+TLSDATED_CACHE_DIR="/var/cache/tlsdated"