Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
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