summaryrefslogtreecommitdiffstats
path: root/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service')
-rw-r--r--meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service
new file mode 100644
index 000000000..b070edac2
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweron.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Poweron Host Server
+Requires=host-gpio.service
+After=host-gpio.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/power-util mb 1 on
+SyslogIdentifier=power-util
+
+[Install]
+WantedBy=basic.target
OpenPOWER on IntegriCloud