Merge pull request #792 from yizhao1/systemd

systemd: make xdg optional
This commit is contained in:
Chris PeBenito 2024-07-12 08:28:35 -04:00 committed by GitHub
commit 1b11d94cd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -313,10 +313,16 @@ init_unit_file(systemd_user_manager_unit_t)
type systemd_conf_home_t; type systemd_conf_home_t;
init_unit_file(systemd_conf_home_t) init_unit_file(systemd_conf_home_t)
optional_policy(`
xdg_config_content(systemd_conf_home_t) xdg_config_content(systemd_conf_home_t)
')
type systemd_data_home_t; type systemd_data_home_t;
userdom_user_home_content(systemd_data_home_t)
optional_policy(`
xdg_data_content(systemd_data_home_t) xdg_data_content(systemd_data_home_t)
')
type systemd_user_runtime_notify_t; type systemd_user_runtime_notify_t;
userdom_user_runtime_content(systemd_user_runtime_notify_t) userdom_user_runtime_content(systemd_user_runtime_notify_t)