summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service')
-rw-r--r--meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service b/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service
new file mode 100644
index 000000000..668195482
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/chassis-system-reset.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=System unit to hard reset or system reset chassis
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/usr/bin/tray_powercycle.sh
+
+[Install]
+WantedBy=chassis-system-reset.target