From 12b49c6d9669ce7c1d5596abad26889190a3f8e8 Mon Sep 17 00:00:00 2001 From: chanywa Date: Thu, 21 Jul 2016 10:30:37 +0900 Subject: [PATCH] Set the SMACK security label to run given executable file in systemd services Change-Id: I118059a03ddf213b035fed4ac130e09a33b72ad4 --- packaging/lbs-server.service | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/lbs-server.service b/packaging/lbs-server.service index f63d29e..4947b2f 100644 --- a/packaging/lbs-server.service +++ b/packaging/lbs-server.service @@ -4,6 +4,7 @@ Description=lbs server daemon [Service] #Type=forking #ExecStart=/etc/rc.d/rc5.d/S90lbs-server +SmackProcessLabel=System ExecStart=/usr/bin/lbs-server MemoryLimit=10M User=location -- 2.7.4