Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,13 @@ ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=${DATA_DIR}
# UFFD snapshot restore writes /run/hypeman/uffd/<ver>.env (read by the
# ${SERVICE_NAME}-uffd@ pager via EnvironmentFile). ProtectSystem=strict makes
# /run read-only, so grant a service-owned writable runtime dir; without it the
# API crash-loops on "mkdir /run/hypeman: read-only file system" once the UFFD
# snapshot memory backend is enabled.
RuntimeDirectory=${SERVICE_NAME}
RuntimeDirectoryMode=0755

[Install]
WantedBy=multi-user.target
Expand Down
Loading