diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-10-12 10:34:20 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-10-14 13:09:51 +0200 |
commit | fce7cd888063b5fffcde071914e717c7c914fa6e (patch) | |
tree | 5a6138cf9d06cb2db9c6bc49e481121020f290b5 /conf/afm-user-daemon.conf | |
parent | 970a20a55d3a7dba32360ce596e61a2b32c9f4ee (diff) |
Refactor of service for systemd 229
Since introduction of ambient capabilities,
systemd deprecated the use of Capabilities.
With systemd 229 activated with krogoth,
the use of Capabilities does nothing.
This commits avoids to use SecureBits and Capabilities.
It now relies on the fact that post installations are
setting the capabilities to the file:
- setcap cap_mac_override,cap_dac_override=ep afm-system-daemon
- setcap cap_mac_override,cap_mac_admin,cap_setgid=ep afm-user-daemon
Using p (permitted) instead of i (inherited) that was
previously used.
Change-Id: I17d51da07adf775d47a7f44551d8b8ebbc6eacb9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/afm-user-daemon.conf')
0 files changed, 0 insertions, 0 deletions