feat(tunable): add new system_user variable.
This commit is contained in:
parent
e28e452ba4
commit
e02bf03cca
2 changed files with 2 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ func SetFullSystemPolicy() ([]string, error) {
|
|||
return res, err
|
||||
}
|
||||
out := strings.Replace(string(content), "@{systemd}=unconfined", "@{systemd}=systemd", -1)
|
||||
out = strings.Replace(out, "@{systemd_user}=unconfined", "@{systemd_user}=systemd-user", -1)
|
||||
if err := path.WriteFile([]byte(out)); err != nil {
|
||||
return res, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue