pad/conf/systemd/etherpad.service

19 lines
447 B
SYSTEMD
Raw Permalink Normal View History

2022-05-26 23:30:40 +02:00
[Unit]
Description=Etherpad, the collaborative editor.
After=syslog.target network.target postgresql.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/home/etherpad/etherpad-lite/
Environment=NODE_ENV=production
ExecStart=/home/etherpad/etherpad-lite/bin/fastRun.sh
StandardOutput=append:/var/log/etherpad/output.log
StandardError=append:/var/log/etherpad/error.log
Restart=always
[Install]
WantedBy=multi-user.target