Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I400bf8cbe33dc409e73b8db6f8d58d49cad63815
BuildRequires: pkgconfig(cynara-client)
BuildRequires: pkgconfig(capi-base-common)
-%global service_user root
+%global service_user security_fw
%global service_group security_fw
%global service_smack_label System
User=@SERVICE_USER@
Group=@SERVICE_GROUP@
SmackProcessLabel=@SERVICE_SMACK_LABEL@
-ExecStart=@BIN_DIR@/@PROJECT_NAME@-daemon -o 5000
+ExecStart=@BIN_DIR@/@PROJECT_NAME@-daemon
Restart=on-failure
ExecReload=/bin/kill -HUP $MAINPID
CapabilityBoundingSet=~CAP_MAC_ADMIN
CapabilityBoundingSet=~CAP_MAC_OVERRIDE
+Capabilities=cap_audit_control,cap_audit_write=i
+SecureBits=keep-caps
[Install]
WantedBy=multi-user.target