From 7cf6164364110f4d0818ab9051c03e3b0e2e4a8f Mon Sep 17 00:00:00 2001 From: Tamas Pal Date: Thu, 26 Sep 2019 12:43:24 +0200 Subject: [PATCH] start service before syslog-ng service too prevent conflicts and failed startup of the syslog-ng daemon if it's been used instead of the default rsyslog. --- log2ram.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log2ram.service b/log2ram.service index d97e76d..f07bbb5 100644 --- a/log2ram.service +++ b/log2ram.service @@ -1,7 +1,7 @@ [Unit] Description=Log2Ram DefaultDependencies=no -Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target zram-swap-conf.service apache2.service +Before=basic.target rsyslog.service syslog-ng.service syslog.target systemd-journald.service sysinit.target shutdown.target zram-swap-conf.service apache2.service After=local-fs.target Conflicts=shutdown.target reboot.target halt.target RequiresMountsFor=/var/log /var/hdd.log