summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
5c7f99a)
Change-Id: I6567b58fa0a6dd17deba4c7cccbf3b9f441730eb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-Description=Starts the session of afm user %i
+Description=Initiate afm-user-session %i
After=systemd-user-sessions.service
Wants=afm-user-setup@%i.service
Before=afm-user-setup@%i.service
After=systemd-user-sessions.service
Wants=afm-user-setup@%i.service
Before=afm-user-setup@%i.service
-After=afm-user-session@%i.service
+Description=Target group of afm-user-session %i
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
After=afm-user-setup@%i.service
+Description=Path for setup completion of afm-user-session %i
DefaultDependencies=false
[Path]
PathExists=/run/user/%i/wayland-0
DefaultDependencies=false
[Path]
PathExists=/run/user/%i/wayland-0
-Description=Starts the session of afm user %i
+Description=Setup completion of afm-user-session %i
Requires=afm-user-setup@%i.path
After=afm-user-setup@%i.path
Requires=afm-user-setup@%i.path
After=afm-user-setup@%i.path
+Requires=afm-user-session@%i.service
After=afm-user-session@%i.service
Before=afm-user-session@%i.target
After=afm-user-session@%i.service
Before=afm-user-session@%i.target
[Service]
User=%i
Type=oneshot
[Service]
User=%i
Type=oneshot
-ExecStartPre=/bin/echo USER SETUP %i
-ExecStartPre=/bin/systemctl status
ExecStart=/bin/rm /run/user/%i/afm-user-started
ExecStart=/bin/rm /run/user/%i/afm-user-started
X-AFM--wgtdir={{:#metadata.install-dir}}
X-AFM--workdir=/home/%i/app-data/{{:id}}
%nl
X-AFM--wgtdir={{:#metadata.install-dir}}
X-AFM--workdir=/home/%i/app-data/{{:id}}
%nl
-Wants=afm-user-session@%i.target
+Requires=afm-user-session@%i.target
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
# Adds check to smack
ConditionSecurity=smack
After=afm-user-setup@%i.service
# Adds check to smack
ConditionSecurity=smack
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
[Socket]
SmackLabel=*
After=afm-user-setup@%i.service
[Socket]
SmackLabel=*
X-AFM--wgtdir={{:#metadata.install-dir}}
X-AFM--workdir=/home/%i/app-data/{{:id}}
%nl
X-AFM--wgtdir={{:#metadata.install-dir}}
X-AFM--workdir=/home/%i/app-data/{{:id}}
%nl
-Wants=afm-user-session@%i.target
+Requires=afm-user-session@%i.target
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
# Adds check to smack
ConditionSecurity=smack
After=afm-user-setup@%i.service
# Adds check to smack
ConditionSecurity=smack
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
[Socket]
SmackLabel=*
After=afm-user-setup@%i.service
[Socket]
SmackLabel=*
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
[Socket]
After=afm-user-setup@%i.service
[Socket]
X-AFM--workdir=APP_DATA_DIR/{{:id}}
%nl
X-AFM--workdir=APP_DATA_DIR/{{:id}}
%nl
-Wants=afm-user-session@%i.target
+Requires=afm-user-session@%i.target
+Requires=afm-user-setup@%i.service
After=afm-user-setup@%i.service
# Adds check to smack
After=afm-user-setup@%i.service
# Adds check to smack