bigbluebutton-Github/build/packages-template/bbb-etherpad/after-install.sh

15 lines
393 B
Bash
Raw Normal View History

2021-08-13 18:53:18 +08:00
#!/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