diff --git a/template/services/.ioc_template/compose.yml b/template/services/.ioc_template/compose.yml index ea6829b..6326ee0 100644 --- a/template/services/.ioc_template/compose.yml +++ b/template/services/.ioc_template/compose.yml @@ -14,7 +14,6 @@ services: environment: IOCSH_PS1: replace_me > IOC_NAME: replace_me - IOC_PREFIX: REPLACE_ME volumes: - ../../opi/iocs/replace_me:/epics/opi diff --git a/template/services/example-test-01/config/ioc.yaml b/template/services/example-test-01/config/ioc.yaml index 3ce6481..a83e859 100644 --- a/template/services/example-test-01/config/ioc.yaml +++ b/template/services/example-test-01/config/ioc.yaml @@ -9,19 +9,14 @@ entities: value: GMT0BST - type: devIocStats.iocAdminSoft - IOC: '{{ ioc_name | upper }}' + IOC: "{{ ioc_name | upper }}" - type: epics.StartupCommand - command: dbLoadRecords("/epics/ioc/config/ioc.db") - - - type: epics.dbpf - pv: EXAMPLE:IBEK:A - value: '2.54' - - - type: epics.dbpf - pv: EXAMPLE:IBEK:B - value: '2.61' + command: | + dbLoadRecords("/epics/ioc/config/ioc.db") - type: epics.PostStartupCommand command: | + dbpf EXAMPLE:A "2.54" + dbpf EXAMPLE:B "2.61" dbgf EXAMPLE:IBEK:SUM