Chris Cain | 7bd6d14 | 2023-01-11 13:41:09 -0600 | [diff] [blame] | 1 | unit_files = [ |
2 | 'org.open_power.OCC.Control.service', | ||||
3 | 'op-occ-disable@.service', | ||||
4 | 'op-occ-enable@.service' | ||||
5 | ] | ||||
6 | |||||
George Liu | fa10621 | 2023-08-16 14:20:01 +0800 | [diff] [blame] | 7 | fs = import('fs') |
Chris Cain | 7bd6d14 | 2023-01-11 13:41:09 -0600 | [diff] [blame] | 8 | foreach u : unit_files |
George Liu | fa10621 | 2023-08-16 14:20:01 +0800 | [diff] [blame] | 9 | fs.copyfile( |
10 | u, | ||||
Chris Cain | 7bd6d14 | 2023-01-11 13:41:09 -0600 | [diff] [blame] | 11 | install: true, |
George Liu | fa10621 | 2023-08-16 14:20:01 +0800 | [diff] [blame] | 12 | install_dir: systemd_system_unit_dir |
13 | ) | ||||
Chris Cain | 7bd6d14 | 2023-01-11 13:41:09 -0600 | [diff] [blame] | 14 | endforeach |