fix(systemd): disable ProtectHome (uv stores python in user home)
This commit is contained in:
parent
344d30f440
commit
bf6716375a
@ -23,7 +23,7 @@ StandardError=journal
|
|||||||
|
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ProtectHome=true
|
ProtectHome=false
|
||||||
ReadWritePaths=/opt/aitrader/data
|
ReadWritePaths=/opt/aitrader/data
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,8 @@ StandardError=journal
|
|||||||
# Hardening
|
# Hardening
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ProtectHome=true
|
# ProtectHome=false weil uv den Python-Interpreter in /home/aitrader/.local/share/uv ablegt
|
||||||
|
ProtectHome=false
|
||||||
ReadWritePaths=/opt/aitrader/data
|
ReadWritePaths=/opt/aitrader/data
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user