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.

15 lines
299 B

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