bigbluebutton-Github/build/packages-template/bbb-etherpad/after-install.sh
2021-08-13 12:53:18 +02:00

15 lines
393 B
Bash
Executable File

#!/bin/bash -e
chown -R etherpad:etherpad /usr/share/etherpad-lite
chown root:root /usr/lib/systemd/system/etherpad.service
SOURCE=/tmp/settings.json
TARGET=/usr/share/etherpad-lite/settings.json
if [ ! -f /.dockerenv ]; then
systemctl enable etherpad.service
systemctl daemon-reload
startService etherpad.service || echo "bbb-etherpad service could not be registered or started"
fi