Browse Source

Create log2ram.service

pull/1/head
azlux 8 years ago
parent
commit
9cc827110d
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      log2ram.service

+ 14
- 0
log2ram.service View File

@@ -0,0 +1,14 @@
[Unit]
Description=Log2Ram

[Service]
ExecStart= /usr/local/bin/ramlog start
ExecStop= /usr/local/bin/ramlog stop
ExecReload= /usr/local/bin/ramlog write

Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service

RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save