adding service file for systemd for automatical upstart of the service: this makes sense in future when the server hosts his own static files by himself
parent
d3883906ab
commit
ce062fb7e9
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=multiparty-meeting is a audio / video meeting service running in the browser and powered by webRTC
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/src/multiparty-meeting/server.js
|
||||||
|
Restart=always
|
||||||
|
User=nobody
|
||||||
|
Group=nogroup
|
||||||
|
Environment=PATH=/usr/bin:/usr/local/bin
|
||||||
|
Environment=NODE_ENV=production
|
||||||
|
WorkingDirectory=/usr/local/src/multiparty-meeting
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in New Issue