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

master
Stefan Otto 2018-06-05 17:25:02 +02:00
parent d3883906ab
commit ce062fb7e9
1 changed files with 15 additions and 0 deletions

View File

@ -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