Pārlūkot izejas kodu

Update log2ram.service

pull/195/head
TubbyCat pirms 2 gadiem
committed by GitHub
vecāks
revīzija
c7aef205b1
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 2 papildinājumiem un 5 dzēšanām
  1. +2
    -5
      log2ram.service

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

@@ -15,13 +15,13 @@ ExecReload= /usr/local/bin/log2ram write
TimeoutStartSec=120
RemainAfterExit=yes

#SANDBOXING# -- partly tested
# SANDBOXING
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPriviliges=true
PrivateDevices=true
PrivateNetwork=true
#Will likely break "MAIL" in log2ram.config if does not point to localhost / disabled
#Will likely break "MAIL" in log2ram.config if does not point to localhost or is unused.
ProtectClock=true
ProtectControlGroups=true
ProtectHostname=true
@@ -35,8 +35,5 @@ ProtectHome=true
#will likely break situations wherein configured to also copy logs from $HOME.
#can probably fix with systemctl edit to whitelist relevant dirs




[Install]
WantedBy=sysinit.target

Notiek ielāde…
Atcelt
Saglabāt