George Hung | 0841f8a | 2020-09-28 11:12:05 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=phosphor ECC dbus |
| 3 | Wants=phosphor-dbus-monitor.service |
| 4 | After=phosphor-dbus-monitor.service |
Medad CChien | c33f294 | 2021-11-25 09:56:26 +0800 | [diff] [blame] | 5 | ConditionPathExists=|/sys/devices/system/edac/mc/mc0 |
George Hung | 0841f8a | 2020-09-28 11:12:05 +0800 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | ExecStart=@bindir@/ecc_main |
| 9 | Restart=always |
| 10 | SyslogIdentifier=phosphor-ecc |
| 11 | Type=dbus |
| 12 | BusName=xyz.openbmc_project.memory.ECC |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |