bigbluebutton-Github/build/packages-template/bbb-etherpad/etherpad.service

19 lines
448 B
SYSTEMD
Raw Normal View History

2021-08-13 18:53:18 +08:00
[Unit]
Description=Etherpad Server
Wants=redis-server.service
After=syslog.target network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/usr/share/etherpad-lite
Environment=NODE_ENV=production
ExecStart=/usr/bin/node node_modules/ep_etherpad-lite/node/server.js
Restart=always
# use mysql plus a complete settings.json to avoid Service hold-off time over, scheduling restart.
[Install]
WantedBy=multi-user.target