default config chnages
This commit is contained in:
@@ -34,9 +34,14 @@ package() {
|
|||||||
|
|
||||||
# Cryptpad
|
# Cryptpad
|
||||||
install -vd "${pkgdir}"/usr/share/$pkgname
|
install -vd "${pkgdir}"/usr/share/$pkgname
|
||||||
cp -rv {customize.dist,historyKeeper.js,import,lib,node_modules,rpc.js,scripts,server.js,storage,www} "${pkgdir}"/usr/share/$pkgname
|
cp -rv {customize.dist,historyKeeper.js,import,lib,node_modules,rpc.js,scripts,server.js,storage,www,package.json} "${pkgdir}"/usr/share/$pkgname
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
|
sed -e "s|\(Path: '\)\./|\1/var/lib/cryptpad/|" \
|
||||||
|
-e "s|'/var/lib/cryptpad/data/logs'|false|" \
|
||||||
|
-e "s|logToStdout: false|logToStdout: true|" \
|
||||||
|
-i config/config.example.js
|
||||||
|
|
||||||
install -vDm 644 config/config.example.js "${pkgdir}/etc/webapps/$pkgname/config.example.js"
|
install -vDm 644 config/config.example.js "${pkgdir}/etc/webapps/$pkgname/config.example.js"
|
||||||
ln -vs "/etc/webapps/$pkgname" "${pkgdir}"/usr/share/$pkgname/config
|
ln -vs "/etc/webapps/$pkgname" "${pkgdir}"/usr/share/$pkgname/config
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user