system/systemd/etherpad.service
Georg b3cac70a7f Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-21 12:47:30 +02:00

17 lines
469 B
Desktop File

[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