aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/config/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/facemgr/config/postinst')
-rwxr-xr-xctrl/facemgr/config/postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/ctrl/facemgr/config/postinst b/ctrl/facemgr/config/postinst
index 4113b0eca..7b2fd57fe 100755
--- a/ctrl/facemgr/config/postinst
+++ b/ctrl/facemgr/config/postinst
@@ -1,3 +1,5 @@
#!/bin/bash
-systemctl enable facemgr
+if pidof systemd; then
+ systemctl enable facemgr
+fi