Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a656cc3c9e |
No files matched your search
@@ -1974,6 +1974,8 @@ and their sessions to end. Then it closes the database.
|
|||||||
- `schema/`: JSON Schema files for the message envelope, with their own
|
- `schema/`: JSON Schema files for the message envelope, with their own
|
||||||
`README.md`.
|
`README.md`.
|
||||||
- `script/`: the entrypoints below.
|
- `script/`: the entrypoints below.
|
||||||
|
- `deploy/`: `docker-entrypoint.sh`, the image's entrypoint, which prepares
|
||||||
|
`/var/lib/neoirc` and starts `neoircd` as `neoirc`.
|
||||||
- `CONVENTIONS.md`, `REPO_POLICIES.md` and `AGENTS.md`: the architecture
|
- `CONVENTIONS.md`, `REPO_POLICIES.md` and `AGENTS.md`: the architecture
|
||||||
conventions, the repository policies and the rules for coding agents.
|
conventions, the repository policies and the rules for coding agents.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
# it to neoirc before running neoircd as neoirc.
|
# it to neoirc before running neoircd as neoirc.
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
mkdir -p /var/lib/neoirc
|
main() {
|
||||||
chown -R neoirc:neoirc /var/lib/neoirc
|
mkdir -p /var/lib/neoirc
|
||||||
chmod 0700 /var/lib/neoirc
|
chown -R neoirc:neoirc /var/lib/neoirc
|
||||||
exec su-exec neoirc neoircd "$@"
|
chmod 0700 /var/lib/neoirc
|
||||||
|
exec su-exec neoirc neoircd "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
main "$@"
|
||||||
Reference in new issue
Block a user