aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/config/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/facemgr/config/prerm')
-rwxr-xr-xctrl/facemgr/config/prerm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ctrl/facemgr/config/prerm b/ctrl/facemgr/config/prerm
index b5c486ea5..8c0eadf0d 100755
--- a/ctrl/facemgr/config/prerm
+++ b/ctrl/facemgr/config/prerm
@@ -1,3 +1,5 @@
#!/bin/bash
-systemctl disable facemgr
+if pidof systemd; then
+ systemctl disable facemgr
+fi