aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/config/post
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2021-04-08 10:05:52 +0200
committerJordan Aug� <jordan.auge+fdio@cisco.com>2021-04-26 13:55:15 +0000
commite2b9f02e5e1420ea96d0174d75a53d42f5837e00 (patch)
tree749d7fbf159fc5d01bf9b2ff2994674d56702c5a /ctrl/facemgr/config/post
parenta1a165c48c5422d9b302a6abec51e706f7cda934 (diff)
[HICN-695] facemgr: add systemd service
Change-Id: I6b345944ce3fb4714832798e32ac840a162dc268 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
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