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

14 行
310 B

  1. [Unit]
  2. Description=Log2Ram
  3. Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
  4. [Service]
  5. Type=oneshot
  6. ExecStart= /usr/local/bin/log2ram start
  7. ExecStop= /usr/local/bin/log2ram stop
  8. ExecReload= /usr/local/bin/log2ram write
  9. RemainAfterExit=yes
  10. [Install]
  11. WantedBy=multi-user.target