Skip to content

Commit

Permalink
normalize scripts, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
theraccoonbear committed Mar 21, 2018
1 parent 46ff46e commit c59851c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Once the Docker image has been built, you can bring up a container:

`$ ./utils/up`

_`up` will also implicitly run the `logwatch` command_

### Stop

To stop the server and preserve state:
Expand Down
5 changes: 3 additions & 2 deletions utils/bounce
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env bash

if [ "$1" = "hard" ]; then
./utils/destroy
else
./utils/halt
fi

./utils/up
./utils/logwatch
./utils/up
1 change: 1 addition & 0 deletions utils/shell
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env bash

docker exec -it one-hour-one-life /bin/bash
2 changes: 1 addition & 1 deletion utils/up
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

docker-compose -f docker-compose.yml up -d;

docker logs one-hour-one-life;
docker logs -f one-hour-one-life;

0 comments on commit c59851c

Please sign in to comment.