From: Krzysztof Jackiewicz Date: Wed, 7 Mar 2018 14:45:50 +0000 (+0100) Subject: Fix socket activation X-Git-Tag: submit/tizen/20180412.092951~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F171842%2F3;p=platform%2Fcore%2Fsecurity%2Ftef-simulator.git Fix socket activation Both the service and the socket were bound to each other (BindsTo) making it impossible to stop only one of them. This change removes the BindsTo entries to allow socket to run when the service is down. Change-Id: I9c22acca4c8730729f332e4f3b1f8fb6d7a0cfc7 --- diff --git a/systemd/tef-simulator.service.in b/systemd/tef-simulator.service.in index a9b767c..5de4ddc 100644 --- a/systemd/tef-simulator.service.in +++ b/systemd/tef-simulator.service.in @@ -1,7 +1,6 @@ [Unit] Description=TEF Simulator Daemon DefaultDependencies=no -BindsTo=tef-simulator.socket [Service] User=security_fw diff --git a/systemd/tef-simulator.socket b/systemd/tef-simulator.socket index f4295d2..7995aaa 100644 --- a/systemd/tef-simulator.socket +++ b/systemd/tef-simulator.socket @@ -4,8 +4,5 @@ SocketMode=0777 SmackLabelIPIn=* SmackLabelIPOut=@ -[Unit] -BindsTo=tef-simulator.service - [Install] WantedBy=sockets.target