We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63cd60 commit 20cf81eCopy full SHA for 20cf81e
1 file changed
root/etc/s6-overlay/s6-rc.d/init-transmission-config/run
@@ -41,6 +41,10 @@ if [[ -n "${PEERPORT}" ]]; then
41
sed -i '/peer-port-random-on-start/c\ "peer-port-random-on-start": false,' /config/settings.json
42
fi
43
44
+if [[ -n "${UMASK}" ]]; then
45
+ sed -i "/\"umask\"/c\ \"umask\": ${UMASK}," /config/settings.json
46
+fi
47
+
48
# Handle old theme locations
49
mkdir -p {/transmissionic,/combustion-release,/flood-for-transmission,/kettu,/transmission-web-control}
50
echo /transmissionic /combustion-release /flood-for-transmission /kettu /transmission-web-control | xargs -n1 ln -s /defaults/index.html
0 commit comments