Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
407B

  1. {%- from "linux/map.jinja" import system with context -%}
  2. [Unit]
  3. Description=atop - advanced interactive monitor
  4. After=syslog.target
  5. ConditionPathExists={{ config_file }}
  6. Documentation=man:atop(1)
  7. Documentation=https://atoptool.nl
  8. [Service]
  9. EnvironmentFile=-{{ config_file }}
  10. ExecStart=/usr/bin/atop -a -w ${LOGPATH}/daily.log ${INTERVAL}
  11. Restart=always
  12. RestartSec=10
  13. [Install]
  14. WantedBy=multi-user.target