aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/config/post
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2021-05-17 09:41:49 +0000
committerGerrit Code Review <gerrit@fd.io>2021-05-17 09:41:49 +0000
commit0982497d26806bad1a069766ac46a4f238d850ab (patch)
tree258b44677913b500c59fafaf46ab9d390328f757 /ctrl/facemgr/config/post
parent9b1c12ef3312e4f7355b2218aaf24773b7d541ff (diff)
parente2b9f02e5e1420ea96d0174d75a53d42f5837e00 (diff)
Merge "[HICN-695] facemgr: add systemd service"
Diffstat (limited to 'ctrl/facemgr/config/post')
-rwxr-xr-xctrl/facemgr/config/post5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctrl/facemgr/config/post b/ctrl/facemgr/config/post
new file mode 100755
index 000000000..7b2fd57fe
--- /dev/null
+++ b/ctrl/facemgr/config/post
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+if pidof systemd; then
+ systemctl enable facemgr
+fi