1a12514b61
* 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.
17 lines
400 B
Desktop File
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
|