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
This commit is contained in:
1 parent
d3883906ab
commit
ce062fb7e9
1 file changed
+15
@@ -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
|
||||
Reference in new issue
Block a user