Skip to content

Commit f2acb9e

Browse files
committed
Tweaks to s6 scripts
1 parent 6f3a00c commit f2acb9e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/with-contenv bash
2+
set -e
23

34
mkdir -p /data/logs
4-
chown -R root:root /data/logs
5+
echo "Changing ownership of /data/logs to $(id -u):$(id -g)"
6+
chown -R "$(id -u):$(id -g)" /data/logs
7+

scripts/start-dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ if hash docker-compose 2>/dev/null; then
1818

1919
if [ "$1" == "-f" ]; then
2020
echo -e "${BLUE}${YELLOW}Following Backend Container:${RESET}"
21-
docker logs -f npmdev_npm_1
21+
docker logs -f npm_core
2222
else
2323
echo -e "${YELLOW}Hint:${RESET} You can follow the output of some of the containers with:"
24-
echo " docker logs -f npmdev_npm_1"
24+
echo " docker logs -f npm_core"
2525
fi
2626
else
2727
echo -e "${RED}❯ docker-compose command is not available${RESET}"

0 commit comments

Comments
 (0)