From 9cc827110d3e5a5988ad33b1e373e34c7a73cccf Mon Sep 17 00:00:00 2001 From: azlux Date: Mon, 18 Apr 2016 12:00:14 +0200 Subject: [PATCH] Create log2ram.service --- log2ram.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 log2ram.service diff --git a/log2ram.service b/log2ram.service new file mode 100644 index 0000000..98d774e --- /dev/null +++ b/log2ram.service @@ -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