Pārlūkot izejas kodu

Merge pull request #12 from zador-blood-stained/master

Update service dependencies to start on early boot
pull/14/head
azlux pirms 7 gadiem
committed by GitHub
vecāks
revīzija
05a31e0e35
1 mainītis faili ar 7 papildinājumiem un 2 dzēšanām
  1. +7
    -2
      log2ram.service

+ 7
- 2
log2ram.service Parādīt failu

@@ -1,6 +1,11 @@
[Unit]
Description=Log2Ram
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
DefaultDependencies=no
Before=rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target
After=local-fs.target
Conflicts=shutdown.target
RequiresMountsFor=/var/log /var/log.hdd
IgnoreOnIsolate=yes

[Service]
Type=oneshot
@@ -10,4 +15,4 @@ ExecReload= /usr/local/bin/log2ram write
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
WantedBy=sysinit.target

Notiek ielāde…
Atcelt
Saglabāt