diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service')
-rw-r--r-- | meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service new file mode 100644 index 000000000..8d0f4cd5b --- /dev/null +++ b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service @@ -0,0 +1,8 @@ +[Unit] +Description=Phosphor GPIO %I monitor + +[Service] +Restart=no +EnvironmentFile={envfiledir}/obmc/gpio/%I +ExecStart=/usr/bin/env phosphor-gpio-monitor --path=${{DEVPATH}} --key=${{KEY}} --polarity=${{POLARITY}} --target=${{TARGET}} ${{EXTRA_ARGS}} +SyslogIdentifier=phosphor-gpio-monitor |