summaryrefslogtreecommitdiffstats
path: root/conf/afm-system-daemon.service
AgeCommit message (Collapse)AuthorFilesLines
2017-04-19Improve environment settingJosé Bollo1-15/+0
Some environment variable were set in the configuration files. This wasn't a valuable solution. Allowing now system tning to put environment variables in files of /etc/afm/unit.env.d is much more flexible. Change-Id: I1796061c9055a2860f0bbab340aa3a6e7b85dd3d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-14Refactor of service for systemd 229José Bollo1-2/+0
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>
2016-02-11service :set the capabilitiesJosé Bollo1-0/+3
Change-Id: I9722d6c6876fd872dccd9cb77f85b208c45e4b51 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-12-29improvement of servicesJosé Bollo1-1/+1
Change-Id: Iaa1e43eb3eb84f7410d3bd5f352efee46a5591f4
2015-12-29packages and install configuration filesJosé Bollo1-0/+14
Change-Id: I8a0d4c42d7fe02eabc06c91af9c488bb8235df4a