hangar18/images/etherpad/start.sh

9 lines
206 B
Bash

#!/bin/bash
#
# make sure the logfile exists and has teh right permissions
mkdir -p /var/log/etherpad/
chown -R etherpad:etherpad /var/log/etherpad
# run etherpad
su -c "/opt/etherpad/bin/run.sh" etherpad