diff options
Diffstat (limited to 'services/atop/run')
-rwxr-xr-x | services/atop/run | 3 |
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 |