28 lines
299 B
Plaintext
28 lines
299 B
Plaintext
|
|
# ---
|
|
# As user 'etherpad'
|
|
# ---
|
|
|
|
# Become user etherpad
|
|
#
|
|
# Note: its a system account, so you have to provide a shell
|
|
#
|
|
su - etherpad -s /bin/bash
|
|
|
|
cd etherpad-lite
|
|
|
|
|
|
# Update etherpad-lite sources
|
|
#
|
|
git pull origin
|
|
|
|
|
|
# Initial run is needed here!
|
|
#
|
|
bin/run.sh
|
|
|
|
# Exit from user etherpad
|
|
#
|
|
exit
|
|
|