Update readme for roundcubemail

This commit is contained in:
thomas 2022-08-13 23:53:42 +02:00
parent f6e537824d
commit 590209a9ba
3 changed files with 25 additions and 15 deletions

View file

@ -57,6 +57,7 @@ To enter in temporary filesystem
- [mautrix-syncproxy and mautrix-wsproxy](#mautrix-syncproxy-and-mautrix-wsproxy) ([site](https://docs.mau.fi/bridges/go/imessage/android/setup.html)) ([src](https://github.com/mautrix/syncproxy)) ([src](https://github.com/mautrix/wsproxy))
- [mautrix-whatsapp](#mautrix-whatsapp) ([site](https://docs.mau.fi/bridges/go/whatsapp/index.html)) ([src](https://github.com/mautrix/whatsapp))
- [metabase](#metabase) ([site](https://www.metabase.com/)) ([src](https://github.com/metabase/metabase))
- [roundcubemail](#roundcubemail) ([site](https://roundcube.net/)) ([src](https://github.com/roundcube/roundcubemail))
- [rss-bridge](#rss-bridge) ([site](https://github.com/rss-bridge/rss-bridge)) ([src](https://github.com/RSS-Bridge/rss-bridge))
- [rustdesk-server](#rustdesk-server) ([site](https://rustdesk.com/)) ([src](https://github.com/rustdesk/rustdesk-server))
- [tt-rss](#tt-rss) ([site](https://tt-rss.org/)) ([src](https://git.tt-rss.org/fox/tt-rss))
@ -253,6 +254,25 @@ systemctl enable --now metabase
#configuration with http://<ip>:3000
```
#### roundcubemail
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install roundcubemail
# sample configuration for apache2 + vhost
cp /usr/share/doc/roundcubemail/apache2-roundcubemail.conf /etc/apache2/sites-available/roundcubemail.conf
a2ensite roundcubemail
# edit /etc/apache2/sites-available/roundcubemail.conf
# edit /etc/roundcubemail/config.inc.php
systemctl restart apache2
```
#### rss-bridge
```bash

View file

@ -11,23 +11,13 @@ DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=2
STEP="envinit prebuild build makedeb"
STEP="minimum_package envinit default_prebuild build makedeb"
envinit() {
configure_depot_nodejs
apt-get update
if [ $(dpkg -l | grep -e 'ii nodejs' | wc -l) -eq 1 ];
then
apt-get dist-upgrade -y
else
apt install -y --no-install-recommends wget ca-certificates nodejs npm git make g++ gcc fakeroot dpkg
fi
}
prebuild(){
[ -e /tmp/git ] && rm -fr /tmp/git
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
cp -r /tmp/git/. /tmp/${APP}
apt-get dist-upgrade -y
apt install -y --no-install-recommends nodejs make g++ gcc
}
build() {

View file

@ -1,4 +1,4 @@
#!/bin/bash
id zigbee2mqtt &> /dev/null || useradd zigbee2mqtt -r -s /bin/false -md /var/lib/zigbee2mqtt
chown zigbee2mqtt:zigbee2mqtt /var/lib/zigbee2mqtt/
chown -R zigbee2mqtt:zigbee2mqtt /var/lib/zigbee2mqtt/