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.

13 lines
297 B

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