bigbluebutton-Github/build/packages-template/bbb-pads/bbb-pads.service
Daniel Schreiber 1a12514b61 Fix(build): add service dependency to redis for several services
* fix unit name: the unit name on Ubuntu is `redis-server.service`
* services which need a working redis require both After= and Wants=

See the description in the `systemd.unit` man page.
2022-05-29 22:31:03 +02:00

17 lines
400 B
Desktop File

[Unit]
Description=BigBlueButton Pads
Wants=redis-server.service etherpad.service
After=syslog.target network.target redis-server.service etherpad.service
[Service]
WorkingDirectory=/usr/local/bigbluebutton/bbb-pads
ExecStart=/usr/bin/node index.js
Restart=always
SyslogIdentifier=bbb-pads
User=bigbluebutton
Group=bigbluebutton
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target