diff options
Diffstat (limited to 'conf/unit/afm-unit.conf.in')
-rw-r--r-- | conf/unit/afm-unit.conf.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/unit/afm-unit.conf.in b/conf/unit/afm-unit.conf.in index 285d682..56a9075 100644 --- a/conf/unit/afm-unit.conf.in +++ b/conf/unit/afm-unit.conf.in @@ -105,7 +105,8 @@ X-AFM--type={{content.type}} 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 @@ -205,6 +206,7 @@ WantedBy=afm-user-session@.target %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=* |