diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-23 22:30:53 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 17:44:58 +0100 |
commit | 5d36137251cb9325050ba56023ecd70743e132fd (patch) | |
tree | f2d8e77a5f397b07d88fab769228069d9fa31995 /conf/system | |
parent | 5c7f99a0d33f5f4917bf91131445a87fc10296c0 (diff) |
Config for afm-user-session
Change-Id: I6567b58fa0a6dd17deba4c7cccbf3b9f441730eb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system')
-rw-r--r-- | conf/system/afm-user-session@.service | 2 | ||||
-rw-r--r-- | conf/system/afm-user-session@.target | 3 | ||||
-rw-r--r-- | conf/system/afm-user-setup@.path | 1 | ||||
-rw-r--r-- | conf/system/afm-user-setup@.service | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/conf/system/afm-user-session@.service b/conf/system/afm-user-session@.service index 561128d..83ae24f 100644 --- a/conf/system/afm-user-session@.service +++ b/conf/system/afm-user-session@.service @@ -1,5 +1,5 @@ [Unit] -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 diff --git a/conf/system/afm-user-session@.target b/conf/system/afm-user-session@.target index 1e39ce0..23bebfd 100644 --- a/conf/system/afm-user-session@.target +++ b/conf/system/afm-user-session@.target @@ -1,3 +1,4 @@ [Unit] -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 diff --git a/conf/system/afm-user-setup@.path b/conf/system/afm-user-setup@.path index 2dd0f75..ca22c71 100644 --- a/conf/system/afm-user-setup@.path +++ b/conf/system/afm-user-setup@.path @@ -1,4 +1,5 @@ [Unit] +Description=Path for setup completion of afm-user-session %i DefaultDependencies=false [Path] PathExists=/run/user/%i/wayland-0 diff --git a/conf/system/afm-user-setup@.service b/conf/system/afm-user-setup@.service index 12b593b..050a33a 100644 --- a/conf/system/afm-user-setup@.service +++ b/conf/system/afm-user-setup@.service @@ -1,15 +1,13 @@ [Unit] -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-session@%i.service After=afm-user-session@%i.service Before=afm-user-session@%i.target -After=user@%i.service [Service] User=%i Type=oneshot -ExecStartPre=/bin/echo USER SETUP %i -ExecStartPre=/bin/systemctl status ExecStart=/bin/rm /run/user/%i/afm-user-started |