deepstreamIO / deepstream.io

deepstream.io server
https://deepstreamio.github.io
MIT License
7.13k stars 382 forks source link

Install deepstream as service get error: "Service already exists, please uninstall first " #1089

Closed geohuz closed 3 years ago

geohuz commented 3 years ago
sudo ./deepstream service add -n deepstream -l /var/log -c /etc/deepstream

error message:

Installing service on: /etc/systemd/system/deepstream.service
Service already exists, please uninstall first
yasserf commented 3 years ago

Interesting, seems we are negating incorrectly on systemD

https://github.com/deepstreamIO/deepstream.io/blob/master/src/service/service.ts#L69

Setup a PR, should be out in next release