aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/afm-unit.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/unit/afm-unit.conf.in')
-rw-r--r--conf/unit/afm-unit.conf.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/unit/afm-unit.conf.in b/conf/unit/afm-unit.conf.in
index f9bf8bc..20a3b50 100644
--- a/conf/unit/afm-unit.conf.in
+++ b/conf/unit/afm-unit.conf.in
@@ -211,7 +211,8 @@ WantedBy=afm-user-session@.target
%systemd-unit socket afm-api-ws-{{name}}@
[Unit]
Description=Provides api {{name}} for user %i
-After=user@%i.service
+Requires=afm-user-setup@%i.service
+After=afm-user-setup@%i.service
DefaultDependencies=no
[Socket]
SmackLabel=*