From 5235641f4442f767ac55c55d4867011fdb707d55 Mon Sep 17 00:00:00 2001 From: Sailing74 Date: Sat, 30 Jul 2016 16:41:58 +0200 Subject: [PATCH] Move "Before" to "[Unit]" This tweak is required to make it run under Ubuntu 16.04 --- log2ram.service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/log2ram.service b/log2ram.service index 8516bf2..37fce3e 100644 --- a/log2ram.service +++ b/log2ram.service @@ -1,13 +1,11 @@ [Unit] Description=Log2Ram +Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service [Service] ExecStart= /usr/local/bin/log2ram start ExecStop= /usr/local/bin/log2ram stop ExecReload= /usr/local/bin/log2ram write - -Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service - RemainAfterExit=yes [Install]