Skip to content

Commit

Permalink
Merge pull request #7 from epics-containers/answers
Browse files Browse the repository at this point in the history
fix sample startup script
  • Loading branch information
gilesknap authored Aug 6, 2024
2 parents 2905af3 + f3b75e3 commit 09dbf0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion template/services/.ioc_template/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 5 additions & 10 deletions template/services/example-test-01/config/ioc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 09dbf0e

Please sign in to comment.