mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-08-29 21:18:12 +02:00
scripts: move template files to "templates" directory
This commit is contained in:
parent
00d96cf045
commit
c5a8f20c04
7 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ PACKAGE_NEWSYSLOGDIR=etc/newsyslog.conf.d
|
|||
RC_NAME=$(echo ${PACKAGE_NAME} | sed "s~-~_~g")
|
||||
|
||||
mkdir -p ${BASE_DIR}/${PACKAGE_TMPDIR}/${PACKAGE_RCDIR}
|
||||
cat ${BASE_DIR}/rc.template \
|
||||
cat ${TEMPLATE_DIR}/rc.conf \
|
||||
| sed "s~{{ RC_NAME }}~${RC_NAME}~g" \
|
||||
| sed "s~{{ DESCRIPTION }}~${PACKAGE_DESCRIPTION}~" \
|
||||
| sed "s~{{ PROGRAM }}~/${PACKAGE_BINDIR}/${PACKAGE_NAME}~" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue