I am setting up etherpad-lite on my raspberry pi ubuntu 14.04 server. I got stuck trying to make etherpad-lite run as a service, following these instructions (I've also checked several others but that hasn't helped).After starting the service withservice etherpad-lite starti get a discouraging response:start-stop-daemon: unable to open pidfile '/var/run/etherpad-lite.pid' for writing (Permission denied)I tried to change the permissions for the file, give writing privileges to etherpad (the user running etherpad), but that changed nothing.sudo chown etherpad:etherpad /var/run/etherpad-lite.pidsudo chmod 754 (also tried 777, just to see) /var/run/etherpad-lite.pidI tried running the service etherpad-lite with sudo, and as user 'etherpad'. Both of these options seem to work at first,Starting Etherpad Lite... donebut upon checking in browser or by running service etherpad-lite status, I lean that it's still not working:[FAIL] etherpad-lite is not running ... failed!Any ideas on how to solve this?*I already asked this question at stackoverflow, raspberrypi.stackexchange and askubuntu. I got no substantial replies.
Running etherpad as a service on raspberry pi
raspberry pi;webserver;services