aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/unit/service.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/unit/service.inc b/conf/unit/service.inc
index 81554d2..ea08220 100644
--- a/conf/unit/service.inc
+++ b/conf/unit/service.inc
@@ -48,6 +48,11 @@ ENDIF
After=Network.target
+IF_PERM(:public:display)
+BindsTo=weston@display.service
+After=weston@display.service
+ENDIF
+
# Adds check to smack
ConditionSecurity=smack
%nl