You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
359 B

# Etherpad-lite upstart
# this script will start/stop Etherpad-lite
description "Etherpad-Lite Server"
version "1.0"
author "Valentin Lab"
start on started networking
stop on runlevel [!2345]
env LOG_FILE=/var/log/etherpad-lite.log
env USER=etherpad
script
chdir /opt/apps/etherpad-lite
exec sudo -u "$USER" bin/run.sh >> "$LOG_FILE" 2>&1
end script