Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rework on systemd start of user sessions
[src/app-framework-main.git]
/
conf
/
unit
/
generate-unit-conf
/
provided.inc
diff --git
a/conf/generate-unit-conf/provided.inc
b/conf/unit/generate-unit-conf/provided.inc
similarity index 81%
rename from
conf/generate-unit-conf/provided.inc
rename to
conf/unit/generate-unit-conf/provided.inc
index
d9c12a0
..
7e085bd
100644
(file)
--- a/
conf/generate-unit-conf/provided.inc
+++ b/
conf/unit/generate-unit-conf/provided.inc
@@
-12,6
+12,9
@@
dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4:
%systemd-unit system
%systemd-unit socket afm-api-ws-{{name}}@
%systemd-unit system
%systemd-unit socket afm-api-ws-{{name}}@
+[Unit]
+Description=Provides api {{name}} for user %i
+After=afm-user-setup@%i.service
[Socket]
SmackLabel=*
[Socket]
SmackLabel=*
@@
-22,8
+25,8
@@
Service=UNIT_NAME_SERVICE
%nl
[Install]
%nl
[Install]
-WantedBy=
sockets
.target
-%systemd-unit wanted-by agl-user-session@.
service
+WantedBy=
agl-user-session@
.target
+%systemd-unit wanted-by agl-user-session@.
target
%end systemd-unit
%end systemd-unit