Patch for unlimited timeout for User Session
authorKunhoon Baik <knhoon.baik@samsung.com>
Wed, 17 Aug 2016 12:25:55 +0000 (21:25 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
This patch should be used for specific purpose of Tizen

Change-Id: Ida7448da300b0c4cf9a5189c6f8903a2e8729df3

units/user@.service.m4.in

index 504bf70..273d8ae 100644 (file)
@@ -12,7 +12,7 @@ After=systemd-user-sessions.service
 [Service]
 User=%i
 PAMName=systemd-user
-Type=notify
+Type=simple
 ExecStart=-@rootlibexecdir@/systemd --user
 SmackProcessLabel=User
 Slice=user-%i.slice
@@ -24,3 +24,4 @@ Environment=XDG_RUNTIME_DIR=/run/user/%U
 Capabilities=cap_sys_admin,cap_mac_admin,cap_mac_override,cap_setgid,cap_dac_override=i
 SupplementaryGroups=priv_mediastorage priv_externalstorage priv_message_read priv_mapservice priv_network_get priv_internet
 SecureBits=keep-caps
+TimeoutStartSec=infinity