system/systemd/etherpad.service

17 lines
469 B
SYSTEMD
Raw Normal View History

[Unit]
Description=etherpad-lite
After=syslog.target network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/opt/etherpad
Environment=NODE_ENV=production
Environment=PATH=/opt/etherpad/.nvm/versions/node/v16.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
ExecStart=/opt/etherpad/.nvm/versions/node/v16.4.0/bin/node /opt/etherpad/etherpad-lite/src/node/server.js
Restart=always
[Install]
WantedBy=multi-user.target