2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Etherpad Server
|
2021-10-16 03:07:13 +08:00
|
|
|
Wants=redis-server.service
|
|
|
|
After=syslog.target network.target
|
2022-02-15 01:49:11 +08:00
|
|
|
packages-template/bbb-config/build.sh
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[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
|
2021-10-16 03:07:13 +08:00
|
|
|
Restart=always
|
2021-08-13 18:53:18 +08:00
|
|
|
# use mysql plus a complete settings.json to avoid Service hold-off time over, scheduling restart.
|
|
|
|
|
|
|
|
[Install]
|
2022-02-15 01:49:11 +08:00
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|
2021-08-13 18:53:18 +08:00
|
|
|
|