www-apps/etherpad-lite: systemd service?
Simple kickoff unit
[Unit]
Description=EtherPad Lite server
After=network.target
Wants=postgresql-9.5.service
[Service]
Type=simple
User=etherpad
Group=daemon
PIDFile=/run/etherpad-lite.pid
WorkingDirectory=/usr/share/etherpad-lite
ExecStart=/usr/bin/node src/node/server.js ${ETHERPAD_ARGS}
SyslogIdentifier=etherpad-lite
Restart=on-failure
[Install]
WantedBy=multi-user.target
I think {API,SESSION}KEY.txt
should also be linked from /etc/etherpad-lite
, wdyt?