mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Disable ProtectHome=tmpfs
This commit is contained in:
@@ -8,8 +8,6 @@ After=traefik.service
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Restart=always
|
Restart=always
|
||||||
# jupyterhub process should have no access to home directories
|
|
||||||
ProtectHome=tmpfs
|
|
||||||
WorkingDirectory={install_prefix}/state
|
WorkingDirectory={install_prefix}/state
|
||||||
# Protect bits that are normally shared across the system
|
# Protect bits that are normally shared across the system
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Restart=always
|
Restart=always
|
||||||
ProtectHome=tmpfs
|
# traefik process should have no access to home directories
|
||||||
|
ProtectHome=yes
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user