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

Update log2ram.service

This commit is contained in:
TubbyCat 2022-08-25 16:31:47 -04:00 committed by GitHub
parent 7f2f8d20db
commit c7aef205b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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