Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **08.01.26:** - Improve permission fixing.
* **31.10.25:** - Initial Release.
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ init_diagram: |
"sealskin:latest" <- Base Images
# changelog
changelogs:
- {date: "08.01.26:", desc: "Improve permission fixing."}
- {date: "31.10.25:", desc: "Initial Release."}
11 changes: 5 additions & 6 deletions root/etc/s6-overlay/s6-rc.d/init-sealskin/run
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
#!/usr/bin/with-contenv bash

mkdir -p /config/ssl

# create self signed cert
if [ ! -f "/config/ssl/proxy_key.pem" ]; then
mkdir -p /config/ssl
openssl req -new -x509 \
-days 3650 -nodes \
-out /config/ssl/proxy_cert.pem \
-keyout /config/ssl/proxy_key.pem \
-subj "/C=US/ST=CA/L=Carlsbad/O=Linuxserver.io/OU=LSIO Server/CN=*"
chmod 600 /config/ssl/proxy_key.pem
chown -R abc:abc /config/ssl
fi

# generate server key
if [ ! -f "/config/ssl/server_key.pem" ]; then
mkdir -p /config/ssl
openssl genpkey \
-algorithm RSA \
-out /config/ssl/server_key.pem \
-pkeyopt rsa_keygen_bits:4096
chmod 600 /config/ssl/server_key.pem
chown -R abc:abc /config/ssl
fi

# docker socket perms
Expand All @@ -45,5 +43,6 @@ if [ -S "${DOCKER_SOCK_PATH}" ]; then
fi

# perms
chown abc:abc /sealskin.zip
chown abc:abc /storage
lsiown abc:abc /sealskin.zip
lsiown abc:abc /storage
lsiown -R abc:abc /config
4 changes: 3 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-sealskin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/with-contenv bash

cd /opt/sealskin/server

# Run SealSkin
exec s6-setuidgid abc \
bash -c 'cd /opt/sealskin/server && python3 main.py'
python3 main.py