1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00

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.
This commit is contained in:
Tamas Pal 2019-09-26 12:43:24 +02:00
parent 0dc5827f5c
commit 7cf6164364

View File

@ -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