Merge pull request #435 from GeorgianaElena/disable_ProtectHome

Disable ProtectHome=tmpfs
This commit is contained in:
Min RK
2019-09-19 14:00:22 +02:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -8,8 +8,6 @@ After=traefik.service
[Service]
User=root
Restart=always
# jupyterhub process should have no access to home directories
ProtectHome=tmpfs
WorkingDirectory={install_prefix}/state
# Protect bits that are normally shared across the system
PrivateTmp=yes

View File

@@ -7,7 +7,8 @@ After=network.target
[Service]
User=root
Restart=always
ProtectHome=tmpfs
# traefik process should have no access to home directories
ProtectHome=yes
ProtectSystem=strict
PrivateTmp=yes
PrivateDevices=yes