about summary refs log tree commit diff
path: root/services/atop/run
diff options
context:
space:
mode:
Diffstat (limited to 'services/atop/run')
-rwxr-xr-xservices/atop/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/atop/run b/services/atop/run
new file mode 100755
index 0000000..7f6aeb8
--- /dev/null
+++ b/services/atop/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p /var/log/atop || exit 1
+exec atop -a -w /var/log/atop/atop_$(date +%Y%m%d) 600