Skip to content

Commit

Permalink
Make embedded-registry script reentrant
Browse files Browse the repository at this point in the history
Signed-off-by: tu1h <[email protected]>
  • Loading branch information
0ekk committed May 27, 2024
1 parent 64ba3fb commit 3522342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/combustion/templates/26-embedded-registry.sh.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail

mkdir /opt/hauler
mkdir -p /opt/hauler
cp {{ .RegistryDir }}/hauler /opt/hauler/hauler
cp {{ .RegistryDir }}/*-{{ .RegistryTarSuffix }} /opt/hauler/

Expand All @@ -22,4 +22,4 @@ Restart=on-failure
WantedBy=multi-user.target
EOF

systemctl enable eib-embedded-registry.service
systemctl enable eib-embedded-registry.service

0 comments on commit 3522342

Please sign in to comment.