summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2020-02-08 18:50:39 +0000
committerPaul Bütow <pbuetow@mimecast.com>2020-02-08 18:50:39 +0000
commit6c3ddb7746c062e967b44af568077f5ce2c9ec39 (patch)
tree24dcf6ca242e7606c68128a8893eaf281f1afd61 /samples
parentd38502e109fc3bcdac5a904f3a65a3017174058b (diff)
parentca28ba95a74706ad3620f6a1980db45c1a92ad4a (diff)
Merge branch 'master' of https://github.com/mimecast/dtailv2.0.2
Diffstat (limited to 'samples')
-rw-r--r--samples/dserver-update-keycache.service.sample6
-rw-r--r--samples/dserver-update-keycache.timer.sample5
-rw-r--r--samples/dtail.json.sample2
3 files changed, 12 insertions, 1 deletions
diff --git a/samples/dserver-update-keycache.service.sample b/samples/dserver-update-keycache.service.sample
new file mode 100644
index 0000000..7e6144c
--- /dev/null
+++ b/samples/dserver-update-keycache.service.sample
@@ -0,0 +1,6 @@
+[Unit]
+Description=Refresh DServer SSH Key Cache
+
+[Service]
+Type=oneshot
+ExecStart=/var/run/dserver/update_key_cache.sh
diff --git a/samples/dserver-update-keycache.timer.sample b/samples/dserver-update-keycache.timer.sample
new file mode 100644
index 0000000..e7158ca
--- /dev/null
+++ b/samples/dserver-update-keycache.timer.sample
@@ -0,0 +1,5 @@
+[Unit]
+Description=Refresh DServer SSH Key Cache every 30 minutes.
+
+[Timer]
+OnCalendar=*:0/30
diff --git a/samples/dtail.json.sample b/samples/dtail.json.sample
index cf2c2c2..83925c6 100644
--- a/samples/dtail.json.sample
+++ b/samples/dtail.json.sample
@@ -29,7 +29,7 @@
"Common": {
"LogDir" : "log",
"CacheDir" : "cache",
- "LogStrategy": "daily",
+ "LogStrategy": "stdout",
"SSHPort": 2222,
"DebugEnable": false,
"PPerfEnable": false,