Andrew Jeffery | 11cd254 | 2021-05-03 11:03:30 +0930 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=BMC Debug Trigger |
Andrew Jeffery | d1c5dd1 | 2022-01-14 21:43:28 +1030 | [diff] [blame] | 3 | After=xyz.openbmc_project.Dump.Manager.service |
Andrew Jeffery | 11cd254 | 2021-05-03 11:03:30 +0930 | [diff] [blame] | 4 | |
| 5 | [Service] |
| 6 | Type=simple |
Andrew Jeffery | 8660e77 | 2022-01-14 21:59:15 +1030 | [diff] [blame] | 7 | Environment=DEBUG_TRIGGER_OPTIONS= DEBUG_TRIGGER_SOURCE=/%I DEBUG_TRIGGER_SINK=/proc/sysrq-trigger |
| 8 | EnvironmentFile=-/etc/default/debug-trigger |
| 9 | ExecStart=/usr/bin/debug-trigger $DEBUG_TRIGGER_OPTIONS $DEBUG_TRIGGER_SOURCE $DEBUG_TRIGGER_SINK |