2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Etherpad Server
|
2021-10-16 03:07:13 +08:00
|
|
|
Wants=redis-server.service
|
2022-05-30 04:04:50 +08:00
|
|
|
After=syslog.target network.target redis-server.service
|
2022-03-17 23:06:42 +08:00
|
|
|
PartOf=bigbluebutton.target
|
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
|
|
|
|