diff options
Diffstat (limited to 'conf/unit/generate-unit-conf/service.inc')
-rw-r--r-- | conf/unit/generate-unit-conf/service.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/unit/generate-unit-conf/service.inc b/conf/unit/generate-unit-conf/service.inc index 88e4346..3efa975 100644 --- a/conf/unit/generate-unit-conf/service.inc +++ b/conf/unit/generate-unit-conf/service.inc @@ -42,14 +42,14 @@ ConditionSecurity=smack # Automatic bound to required api {{#required-api}} {{#value=auto|ws}} -BindsTo=UNIT_NAME_SOCKET_FOR({{name}}) -After=UNIT_NAME_SOCKET_FOR({{name}}) +BindsTo=UNIT_NAME_API_SERVICE({{name}},%i) +After=UNIT_NAME_API_SERVICE({{name}},%i) {{/value=auto|ws}} {{/required-api}} {{#provided-api}} {{#value=ws|auto}} -Requires=UNIT_NAME_SOCKET_FOR({{name}}) -After=UNIT_NAME_SOCKET_FOR({{name}}) +Requires=UNIT_NAME_API_SERVICE({{name}},%i) +After=UNIT_NAME_API_SERVICE({{name}},%i) {{/value=ws|auto}} {{/provided-api}} |