Change the systemd service configuration file: "true" --> "yes" 45/208545/3
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 26 Jun 2019 01:15:44 +0000 (10:15 +0900)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 10 Jul 2019 08:46:38 +0000 (08:46 +0000)
Systemd has unified the boolean value with "yes/no".
Systemd internally "true" and "yes" are the same value.

Change-Id: I3272406abd28406047d5e745d407f0917f8005e1

systemd/swap_manager.service.modules
systemd/swap_manager.socket

index 8315fdec9a8edcf879a80fb1823a5d6cc530b645..5243332442d7de3955215a54f01f55dcec4a4243 100644 (file)
@@ -12,7 +12,7 @@ Group=system_fw
 SmackProcessLabel=System
 Sockets=swap_manager.socket
 
-PermissionsStartOnly=true
+PermissionsStartOnly=yes
 ExecStartPre=/bin/rm -f /run/swap/trigger_shell/swap_manager_error
 ExecStartPre=/usr/bin/swap_module.sh load
 ExecStart=/usr/bin/swap_manager
index 2182221fa74a458171175de2a5000c83dc724a58..59fe3467f475ff409228f5e5731ea596673532ea 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=swap_manager sockets
-StopWhenUnneeded=true
+StopWhenUnneeded=yes
 
 # lib.socket
 [Socket]
@@ -9,7 +9,7 @@ SocketGroup=users
 ListenStream=/run/swap/lib.socket
 SmackLabelIPIn=*
 SmackLabelIPOut=@
-RemoveOnStop=true
+RemoveOnStop=yes
 
 # ui_lib.socket
 [Socket]
@@ -18,7 +18,7 @@ SocketGroup=users
 ListenStream=/run/swap/ui_lib.socket
 SmackLabelIPIn=*
 SmackLabelIPOut=@
-RemoveOnStop=true
+RemoveOnStop=yes
 
 [Install]
 WantedBy=sockets.target